basctl/source/basicide/bastypes.cxx                   |    2 +-
 cui/source/inc/cuihyperdlg.hxx                        |    6 +++---
 cui/source/tabpages/chardlg.cxx                       |    2 +-
 cui/source/tabpages/paragrph.cxx                      |   10 +++++-----
 dbaccess/source/ui/dlg/dlgsave.cxx                    |    2 +-
 dbaccess/source/ui/inc/SqlNameEdit.hxx                |    3 +--
 dbaccess/source/ui/inc/TableFieldDescription.hxx      |    2 +-
 dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx |   14 +++++++-------
 include/svtools/ctrlbox.hxx                           |    2 +-
 include/svx/relfld.hxx                                |    2 +-
 include/svx/srchdlg.hxx                               |    2 +-
 include/vcl/dockwin.hxx                               |    4 ++--
 sc/source/ui/inc/filldlg.hxx                          |    2 +-
 sc/source/ui/view/tabvwshe.cxx                        |    2 +-
 sd/source/ui/view/Outliner.cxx                        |    2 +-
 sfx2/source/dialog/splitwin.cxx                       |    2 +-
 sfx2/source/dialog/taskpane.cxx                       |    2 +-
 sfx2/source/sidebar/SidebarController.cxx             |    2 +-
 sw/inc/fmtcol.hxx                                     |    4 ++--
 sw/inc/format.hxx                                     |    6 +++---
 sw/inc/shellio.hxx                                    |    2 +-
 sw/source/core/doc/DocumentStylePoolManager.cxx       |    2 +-
 sw/source/core/doc/docfmt.cxx                         |   12 ++++++------
 sw/source/core/edit/edglss.cxx                        |    2 +-
 sw/source/filter/html/htmlcss1.cxx                    |    8 ++++----
 sw/source/filter/ww8/ww8par2.cxx                      |    2 +-
 sw/source/uibase/app/docstyle.cxx                     |    2 +-
 sw/source/uibase/config/uinums.cxx                    |    2 +-
 sw/source/uibase/dochdl/swdtflvr.cxx                  |    2 +-
 sw/source/uibase/uiview/viewsrch.cxx                  |    8 ++++----
 vcl/source/window/dockmgr.cxx                         |    2 +-
 vcl/source/window/dockwin.cxx                         |    2 +-
 32 files changed, 59 insertions(+), 60 deletions(-)

New commits:
commit 5e7cf50756232b08964dfb15d027697b4eba004f
Author: Noel Grandin <noelgran...@gmail.com>
Date:   Tue Sep 1 14:21:06 2015 +0200

    SetXXX(bool) with a default value of false are just wrong
    
    Change-Id: I4888d0474199bb10ca81d1ad03118a150f574671
    Reviewed-on: https://gerrit.libreoffice.org/18235
    Reviewed-by: Noel Grandin <noelgran...@gmail.com>
    Tested-by: Noel Grandin <noelgran...@gmail.com>

diff --git a/basctl/source/basicide/bastypes.cxx 
b/basctl/source/basicide/bastypes.cxx
index 72e45ad..8072fe3 100644
--- a/basctl/source/basicide/bastypes.cxx
+++ b/basctl/source/basicide/bastypes.cxx
@@ -363,7 +363,7 @@ void DockingWindow::EndDocking( const Rectangle& rRect, 
bool bFloatMode )
         ::DockingWindow::EndDocking( rRect, bFloatMode );
     else
     {
-        SetFloatingMode();
+        SetFloatingMode(false);
         DockThis();
     }
 }
diff --git a/cui/source/inc/cuihyperdlg.hxx b/cui/source/inc/cuihyperdlg.hxx
index 0a27c27..c55ac44 100644
--- a/cui/source/inc/cuihyperdlg.hxx
+++ b/cui/source/inc/cuihyperdlg.hxx
@@ -85,9 +85,9 @@ public:
 
     virtual void            PageCreated( sal_uInt16 nId, IconChoicePage& rPage 
) SAL_OVERRIDE;
 
-    sal_uInt16                  SetPage( SvxHyperlinkItem* pItem );
-    void                    SetReadOnlyMode( bool bReadOnly = false );
-    inline bool     IsHTMLDoc() const { return mbIsHTMLDoc; }
+    sal_uInt16              SetPage( SvxHyperlinkItem* pItem );
+    void                    SetReadOnlyMode( bool bReadOnly );
+    inline bool             IsHTMLDoc() const { return mbIsHTMLDoc; }
 
     inline SfxBindings*     GetBindings() const { return mpBindings; };
     inline SfxDispatcher*   GetDispatcher() const { return 
mpBindings->GetDispatcher(); }
diff --git a/cui/source/tabpages/chardlg.cxx b/cui/source/tabpages/chardlg.cxx
index c5a74d6..3e7c56e 100644
--- a/cui/source/tabpages/chardlg.cxx
+++ b/cui/source/tabpages/chardlg.cxx
@@ -800,7 +800,7 @@ void SvxCharNamePage::Reset_Impl( const SfxItemSet& rSet, 
LanguageGroup eLangGrp
         }
         else
         {
-            pSizeBox->SetRelative();
+            pSizeBox->SetRelative(false);
             pSizeBox->SetValue( (long)CalcToPoint( rItem.GetHeight(), eUnit, 
10 ) );
         }
     }
diff --git a/cui/source/tabpages/paragrph.cxx b/cui/source/tabpages/paragrph.cxx
index 1544e8d..1c19ea8 100644
--- a/cui/source/tabpages/paragrph.cxx
+++ b/cui/source/tabpages/paragrph.cxx
@@ -450,7 +450,7 @@ void SvxStdParagraphTabPage::Reset( const SfxItemSet* rSet )
             }
             else
             {
-                m_pLeftIndent->SetRelative();
+                m_pLeftIndent->SetRelative(false);
                 SetFieldUnit( *m_pLeftIndent, eFUnit );
                 SetMetricValue( *m_pLeftIndent, rOldItem.GetTextLeft(), eUnit 
);
             }
@@ -462,7 +462,7 @@ void SvxStdParagraphTabPage::Reset( const SfxItemSet* rSet )
             }
             else
             {
-                m_pRightIndent->SetRelative();
+                m_pRightIndent->SetRelative(false);
                 SetFieldUnit( *m_pRightIndent, eFUnit );
                 SetMetricValue( *m_pRightIndent, rOldItem.GetRight(), eUnit );
             }
@@ -474,7 +474,7 @@ void SvxStdParagraphTabPage::Reset( const SfxItemSet* rSet )
             }
             else
             {
-                m_pFLineIndent->SetRelative();
+                m_pFLineIndent->SetRelative(false);
                 m_pFLineIndent->SetMin(-9999);
                 SetFieldUnit( *m_pFLineIndent, eFUnit );
                 SetMetricValue( *m_pFLineIndent, 
rOldItem.GetTextFirstLineOfst(),
@@ -520,7 +520,7 @@ void SvxStdParagraphTabPage::Reset( const SfxItemSet* rSet )
             }
             else
             {
-                m_pTopDist->SetRelative();
+                m_pTopDist->SetRelative(false);
                 if ( eFUnit == FUNIT_CHAR )
                     SetFieldUnit( *m_pTopDist, FUNIT_LINE );
                 else
@@ -535,7 +535,7 @@ void SvxStdParagraphTabPage::Reset( const SfxItemSet* rSet )
             }
             else
             {
-                m_pBottomDist->SetRelative();
+                m_pBottomDist->SetRelative(false);
                 if ( eFUnit == FUNIT_CHAR )
                     SetFieldUnit( *m_pBottomDist, FUNIT_LINE );
                 else
diff --git a/dbaccess/source/ui/dlg/dlgsave.cxx 
b/dbaccess/source/ui/dlg/dlgsave.cxx
index dbb78c6..50d2342 100644
--- a/dbaccess/source/ui/dlg/dlgsave.cxx
+++ b/dbaccess/source/ui/dlg/dlgsave.cxx
@@ -338,7 +338,7 @@ void OSaveAsDlg::implInitOnlyTitle(const OUString& _rLabel)
     m_pImpl->m_pSchema->Hide();
 
     m_pImpl->m_pTitle->SetText(m_pImpl->m_aName);
-    m_pImpl->m_pTitle->setCheck(); // enable non valid sql chars as well
+    m_pImpl->m_pTitle->setCheck(false); // enable non valid sql chars as well
 }
 
 void OSaveAsDlg::implInit()
diff --git a/dbaccess/source/ui/inc/SqlNameEdit.hxx 
b/dbaccess/source/ui/inc/SqlNameEdit.hxx
index 2c1ecd2..03ba401 100644
--- a/dbaccess/source/ui/inc/SqlNameEdit.hxx
+++ b/dbaccess/source/ui/inc/SqlNameEdit.hxx
@@ -45,8 +45,7 @@ namespace dbaui
         {
             m_sAllowedChars = _rAllowedChars;
         }
-        // default is false because it is initialized with true
-        void setCheck(bool _bCheck = false)
+        void setCheck(bool _bCheck)
         {
             m_bCheck = _bCheck;
         }
diff --git a/dbaccess/source/ui/inc/TableFieldDescription.hxx 
b/dbaccess/source/ui/inc/TableFieldDescription.hxx
index adc5ab3..9ab6078 100644
--- a/dbaccess/source/ui/inc/TableFieldDescription.hxx
+++ b/dbaccess/source/ui/inc/TableFieldDescription.hxx
@@ -79,7 +79,7 @@ namespace dbaui
         bool IsGroupBy() const { return m_bGroupBy;}
 
         void SetVisible( bool bVis=true ) { m_bVisible = bVis; }
-        void SetGroupBy( bool bGb=false ) { m_bGroupBy = bGb; }
+        void SetGroupBy( bool bGb ) { m_bGroupBy = bGb; }
         void SetTabWindow( vcl::Window* pWin ){ m_pTabWindow = pWin; }
         void SetField( const OUString& rF ) { m_aFieldName = rF; }
         void SetFieldAlias( const OUString& rF ) { m_aFieldAlias = rF; }
diff --git a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx 
b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
index 983233b..98285bf 100644
--- a/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
+++ b/dbaccess/source/ui/querydesign/SelectionBrowseBox.cxx
@@ -574,7 +574,7 @@ void OSelectionBrowseBox::clearEntryFunctionField(const 
OUString& _sFieldName,OT
             // append undo action for the function field
             _pEntry->SetFunctionType(FKT_NONE);
             _pEntry->SetFunction(OUString());
-            _pEntry->SetGroupBy();
+            _pEntry->SetGroupBy(false);
             
notifyFunctionFieldChanged(sOldLocalizedFunctionName,_pEntry->GetFunction(),_bListAction,_nColumnId);
         }
     }
@@ -821,7 +821,7 @@ bool OSelectionBrowseBox::saveField(OUString& _sFieldName 
,OTableFieldDescRef& _
                     if ( aSelEntry->IsGroupBy() )
                     {
                         sOldLocalizedFunctionName = 
m_aFunctionStrings.getToken(comphelper::string::getTokenCount(m_aFunctionStrings,
 ';')-1, ';');
-                        aSelEntry->SetGroupBy();
+                        aSelEntry->SetGroupBy(false);
                     }
 
                     // append undo action
@@ -1659,7 +1659,7 @@ void OSelectionBrowseBox::AddGroupBy( const 
OTableFieldDescRef& rInfo , sal_uInt
         {
             if ( pEntry->isNumericOrAggreateFunction() && rInfo->IsGroupBy() )
             {
-                pEntry->SetGroupBy();
+                pEntry->SetGroupBy(false);
                 aIter = rFields.end();
                 break;
             }
@@ -1681,7 +1681,7 @@ void OSelectionBrowseBox::AddGroupBy( const 
OTableFieldDescRef& rInfo , sal_uInt
     {
         OTableFieldDescRef pTmp = InsertField(rInfo, BROWSER_INVALIDID, false, 
false );
         if ( (pTmp->isNumericOrAggreateFunction() && rInfo->IsGroupBy()) ) // 
the GroupBy is inherited from rInfo
-            pTmp->SetGroupBy();
+            pTmp->SetGroupBy(false);
     }
 }
 
@@ -1737,7 +1737,7 @@ void OSelectionBrowseBox::AddCondition( const 
OTableFieldDescRef& rInfo, const O
             pEntry->IsGroupBy() == rInfo->IsGroupBy() )
         {
             if ( pEntry->isNumericOrAggreateFunction() && rInfo->IsGroupBy() )
-                pEntry->SetGroupBy();
+                pEntry->SetGroupBy(false);
             else
             {
                 if(!m_bGroupByUnRelated && pEntry->IsGroupBy())
@@ -1786,7 +1786,7 @@ void OSelectionBrowseBox::AddCondition( const 
OTableFieldDescRef& rInfo, const O
     {
         OTableFieldDescRef pTmp = InsertField(rInfo, BROWSER_INVALIDID, false, 
false );
         if ( pTmp->isNumericOrAggreateFunction() && rInfo->IsGroupBy() ) // 
the GroupBy was inherited from rInfo
-            pTmp->SetGroupBy();
+            pTmp->SetGroupBy(false);
         if ( pTmp.is() )
         {
             pTmp->SetCriteria( nLevel, rValue);
@@ -2289,7 +2289,7 @@ void OSelectionBrowseBox::SetCellContents(sal_Int32 nRow, 
sal_uInt16 nColId, con
             nFunctionType &= ~FKT_AGGREGATE;
             pEntry->SetFunctionType(nFunctionType);
             if ( pEntry->IsGroupBy() && 
!sGroupFunctionName.equalsIgnoreAsciiCase(strNewText) )
-                pEntry->SetGroupBy();
+                pEntry->SetGroupBy(false);
 
             if ( sGroupFunctionName.equalsIgnoreAsciiCase(strNewText) )
                 pEntry->SetGroupBy(true);
diff --git a/include/svtools/ctrlbox.hxx b/include/svtools/ctrlbox.hxx
index 5782394..eedb574 100644
--- a/include/svtools/ctrlbox.hxx
+++ b/include/svtools/ctrlbox.hxx
@@ -469,7 +469,7 @@ public:
     void            EnablePtRelativeMode( short nMin = -200, short nMax = 200,
                                           short nStep = 10 );
     bool            IsRelativeMode() const { return bRelativeMode; }
-    void            SetRelative( bool bRelative = false );
+    void            SetRelative( bool bRelative );
     bool            IsRelative() const { return bRelative; }
     void            SetPtRelative( bool bPtRel = true )
                         { bPtRelative = bPtRel; SetRelative( true ); }
diff --git a/include/svx/relfld.hxx b/include/svx/relfld.hxx
index 570791b..5e509e6 100644
--- a/include/svx/relfld.hxx
+++ b/include/svx/relfld.hxx
@@ -44,7 +44,7 @@ public:
 
     void            EnableRelativeMode( sal_uInt16 nMin = 50, sal_uInt16 nMax 
= 150,
                                         sal_uInt16 nStep = 5 );
-    void            SetRelative( bool bRelative = false );
+    void            SetRelative( bool bRelative );
     bool            IsRelative() const { return bRelative; }
     void            EnableNegativeMode() {bNegativeEnabled = true;}
 };
diff --git a/include/svx/srchdlg.hxx b/include/svx/srchdlg.hxx
index 3de8040..1403faf 100644
--- a/include/svx/srchdlg.hxx
+++ b/include/svx/srchdlg.hxx
@@ -137,7 +137,7 @@ public:
 
     void SetDocWin( vcl::Window* pDocWin ) { mpDocWin = pDocWin; }
     vcl::Window* GetDocWin() { return mpDocWin; }
-    void SetSrchFlag( bool bSuccess = false ) { mbSuccess = bSuccess; }
+    void SetSrchFlag( bool bSuccess ) { mbSuccess = bSuccess; }
     bool GetSrchFlag() { return mbSuccess; }
     virtual ::com::sun::star::uno::Reference< 
::com::sun::star::awt::XWindowPeer >
         GetComponentInterface( bool bCreate ) SAL_OVERRIDE;
diff --git a/include/vcl/dockwin.hxx b/include/vcl/dockwin.hxx
index bae8483..07905fd 100644
--- a/include/vcl/dockwin.hxx
+++ b/include/vcl/dockwin.hxx
@@ -160,7 +160,7 @@ public:
     bool            IsDockable() const { return mbDockable; }
     bool            IsDockingCanceled() const { return mbDockCanceled; }
 
-    void            SetFloatingMode( bool bFloatMode = false );
+    void            SetFloatingMode( bool bFloatMode );
     bool            IsFloatingMode() const;
     FloatingWindow* GetFloatingWindow() const { return mpFloatWin; }
 
@@ -322,7 +322,7 @@ public:
     bool            IsDockingCanceled() const { return mbDockCanceled; }
     bool            IsDockingPrevented() const { return mbDockPrevented; }
 
-    void            SetFloatingMode( bool bFloatMode = false );
+    void            SetFloatingMode( bool bFloatMode );
     bool            IsFloatingMode() const;
     FloatingWindow* GetFloatingWindow() const { return mpFloatWin; }
 
diff --git a/sc/source/ui/inc/filldlg.hxx b/sc/source/ui/inc/filldlg.hxx
index 96d3b59..00d5e0f 100644
--- a/sc/source/ui/inc/filldlg.hxx
+++ b/sc/source/ui/inc/filldlg.hxx
@@ -54,7 +54,7 @@ public:
 
     OUString GetStartStr() const       { return m_pEdStartVal->GetText(); }
 
-    void SetEdStartValEnabled(bool bFlag = false);
+    void SetEdStartValEnabled(bool bFlag);
 
 private:
     VclPtr<FixedText> m_pFtStartVal;
diff --git a/sc/source/ui/view/tabvwshe.cxx b/sc/source/ui/view/tabvwshe.cxx
index d26475c..e218181 100644
--- a/sc/source/ui/view/tabvwshe.cxx
+++ b/sc/source/ui/view/tabvwshe.cxx
@@ -316,7 +316,7 @@ void ScTabViewShell::ExecSearch( SfxRequest& rReq )
                                 if( pWin )
                                 {
                                     pSearchDlg->SetDocWin( pWin );
-                                    pSearchDlg->SetSrchFlag();
+                                    pSearchDlg->SetSrchFlag(false);
                                 }
                             }
                         }
diff --git a/sd/source/ui/view/Outliner.cxx b/sd/source/ui/view/Outliner.cxx
index febf62f..f0b35ed 100644
--- a/sd/source/ui/view/Outliner.cxx
+++ b/sd/source/ui/view/Outliner.cxx
@@ -502,7 +502,7 @@ bool Outliner::StartSearchAndReplace (const SvxSearchItem* 
pSearchItem)
             SvxSearchDialog* pSearchDlg =
                 static_cast<SvxSearchDialog*>(pChildWin->GetWindow());
             pSearchDlg->SetDocWin( pViewShell->GetActiveWindow() );
-            pSearchDlg->SetSrchFlag();
+            pSearchDlg->SetSrchFlag(false);
         }
     }
     else
diff --git a/sfx2/source/dialog/splitwin.cxx b/sfx2/source/dialog/splitwin.cxx
index 751c23a..8f063de 100644
--- a/sfx2/source/dialog/splitwin.cxx
+++ b/sfx2/source/dialog/splitwin.cxx
@@ -1130,7 +1130,7 @@ void SfxSplitWindow::SetPinned_Impl( bool bOn )
     {
         pEmptyWin->nState &= ~1;
         SetOutputSizePixel( GetFloatingWindow()->GetOutputSizePixel() );
-        SetFloatingMode();
+        SetFloatingMode(false);
 
         if ( pEmptyWin->bFadeIn )
         {
diff --git a/sfx2/source/dialog/taskpane.cxx b/sfx2/source/dialog/taskpane.cxx
index ff90fc9..52e9e02 100644
--- a/sfx2/source/dialog/taskpane.cxx
+++ b/sfx2/source/dialog/taskpane.cxx
@@ -991,7 +991,7 @@ namespace sfx2
                 break;
 
             case MID_LOCK_TASK_PANEL:
-                m_rDockingWindow.SetFloatingMode();
+                m_rDockingWindow.SetFloatingMode(false);
                 break;
 
             case MID_LAYOUT_DRAWERS:
diff --git a/sfx2/source/sidebar/SidebarController.cxx 
b/sfx2/source/sidebar/SidebarController.cxx
index a45f83e..969f08e 100644
--- a/sfx2/source/sidebar/SidebarController.cxx
+++ b/sfx2/source/sidebar/SidebarController.cxx
@@ -975,7 +975,7 @@ IMPL_LINK(SidebarController, OnMenuItemSelected, Menu*, 
pMenu)
             break;
 
         case MID_LOCK_TASK_PANEL:
-            mpParentWindow->SetFloatingMode();
+            mpParentWindow->SetFloatingMode(false);
             break;
 
         case MID_RESTORE_DEFAULT:
diff --git a/sw/inc/fmtcol.hxx b/sw/inc/fmtcol.hxx
index cd1431f..65ffe39 100644
--- a/sw/inc/fmtcol.hxx
+++ b/sw/inc/fmtcol.hxx
@@ -35,13 +35,13 @@ protected:
                 const sal_uInt16* pWhichRanges, SwFormatColl* pDerFrom,
                 sal_uInt16 nFormatWhich )
           : SwFormat( rPool, pFormatName, pWhichRanges, pDerFrom, nFormatWhich 
)
-    { SetAuto(); }
+    { SetAuto(false); }
 
     SwFormatColl( SwAttrPool& rPool, const OUString &rFormatName,
                 const sal_uInt16* pWhichRanges, SwFormatColl* pDerFrom,
                 sal_uInt16 nFormatWhich )
           : SwFormat( rPool, rFormatName, pWhichRanges, pDerFrom, nFormatWhich 
)
-    { SetAuto(); }
+    { SetAuto(false); }
 
 private:
     SwFormatColl(const SwFormatColl & ) SAL_DELETED_FUNCTION;
diff --git a/sw/inc/format.hxx b/sw/inc/format.hxx
index f95fe26..25bc412 100644
--- a/sw/inc/format.hxx
+++ b/sw/inc/format.hxx
@@ -163,10 +163,10 @@ public:
 
     /// Query / set AutoFormat-flag.
     bool IsAuto() const                 { return m_bAutoFormat; }
-    void SetAuto( bool bNew = false )   { m_bAutoFormat = bNew; }
+    void SetAuto( bool bNew )           { m_bAutoFormat = bNew; }
 
-    bool IsHidden() const                 { return m_bHidden; }
-    void SetHidden( bool bValue = false ) { m_bHidden = bValue; }
+    bool IsHidden() const               { return m_bHidden; }
+    void SetHidden( bool bValue )       { m_bHidden = bValue; }
 
     void GetGrabBagItem(com::sun::star::uno::Any& rVal) const;
     void SetGrabBagItem(const com::sun::star::uno::Any& rVal);
diff --git a/sw/inc/shellio.hxx b/sw/inc/shellio.hxx
index 6736a62..d3bf642 100644
--- a/sw/inc/shellio.hxx
+++ b/sw/inc/shellio.hxx
@@ -421,7 +421,7 @@ public:
 
     virtual bool IsStgWriter() const;
 
-    void SetShowProgress( bool bFlag = false )  { bShowProgress = bFlag; }
+    void SetShowProgress( bool bFlag )  { bShowProgress = bFlag; }
 
     const SwAsciiOptions& GetAsciiOptions() const { return aAscOpts; }
     void SetAsciiOptions( const SwAsciiOptions& rOpt ) { aAscOpts = rOpt; }
diff --git a/sw/source/core/doc/DocumentStylePoolManager.cxx 
b/sw/source/core/doc/DocumentStylePoolManager.cxx
index 39f74e72..3fd845b 100644
--- a/sw/source/core/doc/DocumentStylePoolManager.cxx
+++ b/sw/source/core/doc/DocumentStylePoolManager.cxx
@@ -1164,7 +1164,7 @@ SwFormat* DocumentStylePoolManager::GetFormatFromPool( 
sal_uInt16 nId )
         if( !bIsModified )
             m_rDoc.getIDocumentState().ResetModified();
         pNewFormat->SetPoolFormatId( nId );
-        pNewFormat->SetAuto();      // no AutoFormat
+        pNewFormat->SetAuto(false);      // no AutoFormat
     }
 
     switch( nId )
diff --git a/sw/source/core/doc/docfmt.cxx b/sw/source/core/doc/docfmt.cxx
index 832cad2..f71186a 100644
--- a/sw/source/core/doc/docfmt.cxx
+++ b/sw/source/core/doc/docfmt.cxx
@@ -853,7 +853,7 @@ SwCharFormat *SwDoc::MakeCharFormat( const OUString 
&rFormatName,
 {
     SwCharFormat *pFormat = new SwCharFormat( GetAttrPool(), rFormatName, 
pDerivedFrom );
     mpCharFormatTable->push_back( pFormat );
-    pFormat->SetAuto();
+    pFormat->SetAuto(false);
     getIDocumentState().SetModified();
 
     if (GetIDocumentUndoRedo().DoesUndo())
@@ -890,7 +890,7 @@ SwTextFormatColl* SwDoc::MakeTextFormatColl( const OUString 
&rFormatName,
     SwTextFormatColl *pFormatColl = new SwTextFormatColl( GetAttrPool(), 
rFormatName,
                                                 pDerivedFrom );
     mpTextFormatCollTable->push_back(pFormatColl);
-    pFormatColl->SetAuto();
+    pFormatColl->SetAuto(false);
     getIDocumentState().SetModified();
 
     if (GetIDocumentUndoRedo().DoesUndo())
@@ -924,7 +924,7 @@ SwConditionTextFormatColl* SwDoc::MakeCondTextFormatColl( 
const OUString &rForma
     SwConditionTextFormatColl*pFormatColl = new SwConditionTextFormatColl( 
GetAttrPool(),
                                                     rFormatName, pDerivedFrom 
);
     mpTextFormatCollTable->push_back(pFormatColl);
-    pFormatColl->SetAuto();
+    pFormatColl->SetAuto(false);
     getIDocumentState().SetModified();
 
     if (GetIDocumentUndoRedo().DoesUndo())
@@ -949,7 +949,7 @@ SwGrfFormatColl* SwDoc::MakeGrfFormatColl( const OUString 
&rFormatName,
     SwGrfFormatColl *pFormatColl = new SwGrfFormatColl( GetAttrPool(), 
rFormatName,
                                                 pDerivedFrom );
     mpGrfFormatCollTable->push_back( pFormatColl );
-    pFormatColl->SetAuto();
+    pFormatColl->SetAuto(false);
     getIDocumentState().SetModified();
     return pFormatColl;
 }
@@ -1174,7 +1174,7 @@ SwTextFormatColl* SwDoc::CopyTextColl( const 
SwTextFormatColl& rColl )
         pNewColl = new SwConditionTextFormatColl( GetAttrPool(), 
rColl.GetName(),
                                                 pParent);
         mpTextFormatCollTable->push_back( pNewColl );
-        pNewColl->SetAuto();
+        pNewColl->SetAuto(false);
         getIDocumentState().SetModified();
 
         // copy the conditions
@@ -1282,7 +1282,7 @@ void SwDoc::CopyFormatArr( const SwFormatsBase& 
rSourceArr,
             continue;
 
         pDest = FindFormatByName( rDestArr, pSrc->GetName() );
-        pDest->SetAuto();
+        pDest->SetAuto(false);
         pDest->DelDiffs( *pSrc );
 
         // #i94285#: existing <SwFormatPageDesc> instance, before copying 
attributes
diff --git a/sw/source/core/edit/edglss.cxx b/sw/source/core/edit/edglss.cxx
index a22c294..01d4522 100644
--- a/sw/source/core/edit/edglss.cxx
+++ b/sw/source/core/edit/edglss.cxx
@@ -295,7 +295,7 @@ bool SwEditShell::GetSelectedText( OUString &rBuf, int 
nHndlParaBrk )
         {
             // write selected areas into a ASCII document
             SwWriter aWriter( aStream, *this);
-            xWrt->SetShowProgress();
+            xWrt->SetShowProgress(false);
 
             switch( nHndlParaBrk )
             {
diff --git a/sw/source/filter/html/htmlcss1.cxx 
b/sw/source/filter/html/htmlcss1.cxx
index cda4f26..eb5f799 100644
--- a/sw/source/filter/html/htmlcss1.cxx
+++ b/sw/source/filter/html/htmlcss1.cxx
@@ -1099,7 +1099,7 @@ bool SwCSS1Parser::StyleParsed( const CSS1Selector 
*pSelector,
             if( !pCFormat )
             {
                 pCFormat = pDoc->MakeCharFormat( aName, pParentCFormat );
-                pCFormat->SetAuto();
+                pCFormat->SetAuto(false);
             }
         }
 
@@ -1184,7 +1184,7 @@ SwCharFormat* SwCSS1Parser::GetChrFormat( sal_uInt16 
nToken2, const OUString& rC
         if( !pCFormat )
         {
             pCFormat = pDoc->MakeCharFormat( sCName, pDoc->GetDfltCharFormat() 
);
-            pCFormat->SetAuto();
+            pCFormat->SetAuto(false);
         }
     }
 
@@ -1209,7 +1209,7 @@ SwCharFormat* SwCSS1Parser::GetChrFormat( sal_uInt16 
nToken2, const OUString& rC
             if( pClass )
             {
                 pCFormat = pDoc->MakeCharFormat( aTmp, pCFormat );
-                pCFormat->SetAuto();
+                pCFormat->SetAuto(false);
                 SfxItemSet aItemSet( pClass->GetItemSet() );
                 SetCharFormatAttrs( pCFormat, aItemSet );
             }
@@ -1533,7 +1533,7 @@ void SwCSS1Parser::FillDropCap( SwFormatDrop& rDrop,
         if( !pCFormat )
         {
             pCFormat = pDoc->MakeCharFormat( aName, pDoc->GetDfltCharFormat() 
);
-            pCFormat->SetAuto();
+            pCFormat->SetAuto(false);
         }
         SetCharFormatAttrs( pCFormat, rItemSet );
 
diff --git a/sw/source/filter/ww8/ww8par2.cxx b/sw/source/filter/ww8/ww8par2.cxx
index 442c527..bc4299c 100644
--- a/sw/source/filter/ww8/ww8par2.cxx
+++ b/sw/source/filter/ww8/ww8par2.cxx
@@ -3763,7 +3763,7 @@ bool WW8RStyle::PrepareStyle(SwWW8StyInf &rSI, ww::sti 
eSti, sal_uInt16 nThisSty
         {
             pColl->ResetAllFormatAttr(); // #i73790# - method renamed
         }
-        pColl->SetAuto();          // suggested by JP
+        pColl->SetAuto(false);          // suggested by JP
     }                                   // but changes the UI
     pIo->m_pAktColl = pColl;
     rSI.pFormat = pColl;                  // remember translation WW->SW
diff --git a/sw/source/uibase/app/docstyle.cxx 
b/sw/source/uibase/app/docstyle.cxx
index a66148c..eb7f841 100644
--- a/sw/source/uibase/app/docstyle.cxx
+++ b/sw/source/uibase/app/docstyle.cxx
@@ -1898,7 +1898,7 @@ void SwDocStyleSheet::Create()
             if( !pCharFormat )
                 pCharFormat = rDoc.MakeCharFormat(aName,
                                             rDoc.GetDfltCharFormat());
-            pCharFormat->SetAuto();
+            pCharFormat->SetAuto(false);
             break;
 
         case SFX_STYLE_FAMILY_PARA :
diff --git a/sw/source/uibase/config/uinums.cxx 
b/sw/source/uibase/config/uinums.cxx
index 4c33c07..ac8ce7a 100644
--- a/sw/source/uibase/config/uinums.cxx
+++ b/sw/source/uibase/config/uinums.cxx
@@ -256,7 +256,7 @@ void SwNumRulesWithName::_SwNumFormatGlobal::ChgNumFormat( 
SwWrtShell& rSh,
             if( IsPoolUserFormat( nCharPoolId ) )
             {
                 pFormat = rSh.MakeCharFormat( sCharFormatName );
-                pFormat->SetAuto();
+                pFormat->SetAuto(false);
             }
             else
                 pFormat = rSh.GetCharFormatFromPool( nCharPoolId );
diff --git a/sw/source/uibase/dochdl/swdtflvr.cxx 
b/sw/source/uibase/dochdl/swdtflvr.cxx
index 64a8b1a..1c57336 100644
--- a/sw/source/uibase/dochdl/swdtflvr.cxx
+++ b/sw/source/uibase/dochdl/swdtflvr.cxx
@@ -743,7 +743,7 @@ bool SwTransferable::WriteObject( 
tools::SvRef<SotStorageStream>& xStream,
         SwDoc* pDoc = static_cast<SwDoc*>(pObject);
         xWrt->bWriteClipboardDoc = true;
         xWrt->bWriteOnlyFirstTable = 0 != (TRNSFR_TABELLE & eBufferType);
-        xWrt->SetShowProgress();
+        xWrt->SetShowProgress(false);
 
 #if defined(DEBUGPASTE)
         SvFileStream aPasteDebug(OUString(
diff --git a/sw/source/uibase/uiview/viewsrch.cxx 
b/sw/source/uibase/uiview/viewsrch.cxx
index b337e96..2c90c45 100644
--- a/sw/source/uibase/uiview/viewsrch.cxx
+++ b/sw/source/uibase/uiview/viewsrch.cxx
@@ -201,7 +201,7 @@ void SwView::ExecSearch(SfxRequest& rReq, bool bNoMessage)
                     {
                         m_pSrchDlg = 
static_cast<SvxSearchDialog*>(pDlgWrp->GetWindow());
                         m_pSrchDlg->SetDocWin(m_pEditWin);
-                        m_pSrchDlg->SetSrchFlag();
+                        m_pSrchDlg->SetSrchFlag(false);
                     }
                 }
 #endif
@@ -232,7 +232,7 @@ void SwView::ExecSearch(SfxRequest& rReq, bool bNoMessage)
                     {
                         m_pSrchDlg = 
static_cast<SvxSearchDialog*>(pDlgWrp->GetWindow());
                         m_pSrchDlg->SetDocWin(m_pEditWin);
-                        m_pSrchDlg->SetSrchFlag();
+                        m_pSrchDlg->SetSrchFlag(false);
                     }
                 }
 #endif
@@ -293,7 +293,7 @@ void SwView::ExecSearch(SfxRequest& rReq, bool bNoMessage)
                     {
                         m_pSrchDlg = 
static_cast<SvxSearchDialog*>(pDlgWrp->GetWindow());
                         m_pSrchDlg->SetDocWin(m_pEditWin);
-                        m_pSrchDlg->SetSrchFlag();
+                        m_pSrchDlg->SetSrchFlag(false);
                     }
                 }
 #endif
@@ -366,7 +366,7 @@ void SwView::ExecSearch(SfxRequest& rReq, bool bNoMessage)
                 {
                     m_pSrchDlg = 
static_cast<SvxSearchDialog*>(pDlgWrp->GetWindow());
                     m_pSrchDlg->SetDocWin(m_pEditWin);
-                    m_pSrchDlg->SetSrchFlag();
+                    m_pSrchDlg->SetSrchFlag(false);
                 }
 #endif
                 break;
diff --git a/vcl/source/window/dockmgr.cxx b/vcl/source/window/dockmgr.cxx
index 11c647a..e8006c4 100644
--- a/vcl/source/window/dockmgr.cxx
+++ b/vcl/source/window/dockmgr.cxx
@@ -833,7 +833,7 @@ ImplDockingWindowWrapper::~ImplDockingWindowWrapper()
     if ( IsFloatingMode() )
     {
         GetWindow()->Show( false, ShowFlags::NoFocusChange );
-        SetFloatingMode();
+        SetFloatingMode(false);
     }
 }
 
diff --git a/vcl/source/window/dockwin.cxx b/vcl/source/window/dockwin.cxx
index feb4b40..eba4cf2 100644
--- a/vcl/source/window/dockwin.cxx
+++ b/vcl/source/window/dockwin.cxx
@@ -476,7 +476,7 @@ void DockingWindow::dispose()
     if ( IsFloatingMode() )
     {
         Show( false, ShowFlags::NoFocusChange );
-        SetFloatingMode();
+        SetFloatingMode(false);
     }
     delete mpImplData;
     mpImplData = NULL;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to