diff options
32 files changed, 59 insertions, 60 deletions
diff --git a/basctl/source/basicide/bastypes.cxx b/basctl/source/basicide/bastypes.cxx index 72e45addbaf3..8072fe397e7f 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 0a27c27d347a..c55ac447c246 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 c5a74d674dfd..3e7c56e8ddc7 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 1544e8d3482d..1c19ea8ec920 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 dbb78c608a93..50d2342a1d60 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 2c1ecd27aa9f..03ba4018ce8f 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 adc5ab3d7cd0..9ab6078fab08 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 983233b14f66..98285bf3e1eb 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 5782394d030c..eedb574af60e 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 570791be64a5..5e509e62e9ee 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 3de80404ff45..1403fafa4510 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 bae8483b8787..07905fdc469c 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 96d3b5961631..00d5e0f2c874 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 d26475c63816..e218181583de 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 febf62f80548..f0b35ed7f0cf 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 751c23a2bac3..8f063deb425a 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 ff90fc97dad1..52e9e02eb518 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 a45f83e8a8a5..969f08ee7c59 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 cd1431f4607b..65ffe3901cf3 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 f95fe2640b06..25bc4127384d 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 6736a62b6630..d3bf6424b90b 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 39f74e727b22..3fd845b7009d 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 832cad2220ea..f71186a5f841 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 a22c2943f8cb..01d452287fa9 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 cda4f26a4565..eb5f799f078f 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 442c52735560..bc4299c12a4c 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 a66148cf6bf3..eb7f8419b1a0 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 4c33c075b102..ac8ce7a9e9e1 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 64a8b1a43b8f..1c573368b776 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 b337e96d1ffe..2c90c4517b43 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 11c647ab5ba8..e8006c48c209 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 feb4b405742f..eba4cf2e2f21 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; |