diff --git a/cui/source/dialogs/passwdomdlg.cxx b/cui/source/dialogs/passwdomdlg.cxx index b73b71d38f36..30e330067264 100644 --- a/cui/source/dialogs/passwdomdlg.cxx +++ b/cui/source/dialogs/passwdomdlg.cxx @@ -163,7 +163,7 @@ PasswordToOpenModifyDialog_Impl::PasswordToOpenModifyDialog_Impl( m_aMoreFewerOptionsBTN.Enable( bIsPasswordToModify ); if (!bIsPasswordToModify) - m_aMoreFewerOptionsBTN.Hide( sal_True ); + m_aMoreFewerOptionsBTN.Hide(); } diff --git a/cui/source/factory/dlgfact.cxx b/cui/source/factory/dlgfact.cxx index 3ab8e8665585..2090e59d1899 100644 --- a/cui/source/factory/dlgfact.cxx +++ b/cui/source/factory/dlgfact.cxx @@ -543,9 +543,9 @@ OUString AbstractURLDlg_Impl::GetName() const return pDlg->GetName(); } -void AbstractSvxHlinkDlgMarkWnd_Impl::Hide( sal_uInt16 nFlags ) +void AbstractSvxHlinkDlgMarkWnd_Impl::Hide() { - ((Window*)pDlg)->Hide( nFlags ); + ((Window*)pDlg)->Hide(); } void AbstractSvxHlinkDlgMarkWnd_Impl::SetSizePixel( const Size& rNewSize ) diff --git a/cui/source/factory/dlgfact.hxx b/cui/source/factory/dlgfact.hxx index cee1226ef3c4..0d171618bb93 100644 --- a/cui/source/factory/dlgfact.hxx +++ b/cui/source/factory/dlgfact.hxx @@ -278,7 +278,7 @@ class SvxHlinkDlgMarkWnd; class AbstractSvxHlinkDlgMarkWnd_Impl : public AbstractSvxHlinkDlgMarkWnd { DECL_ABSTDLG_BASE(AbstractSvxHlinkDlgMarkWnd_Impl,SvxHlinkDlgMarkWnd) - virtual void Hide( sal_uInt16 nFlags = 0 ); + virtual void Hide() SAL_OVERRIDE; virtual sal_Bool IsVisible() const ; virtual void Invalidate( sal_uInt16 nFlags = 0 ); virtual void SetSizePixel( const Size& rNewSize ); diff --git a/cui/source/tabpages/autocdlg.cxx b/cui/source/tabpages/autocdlg.cxx index 5f5c69ec1306..c4e7f9ead034 100644 --- a/cui/source/tabpages/autocdlg.cxx +++ b/cui/source/tabpages/autocdlg.cxx @@ -1778,7 +1778,7 @@ OfaQuoteTabPage::OfaQuoteTabPage(Window* pParent, const SfxItemSet& rSet) sHeader += "\t"; m_pSwCheckLB->InsertHeaderEntry( sHeader, HEADERBAR_APPEND, HIB_CENTER | HIB_VCENTER | HIB_FIXEDPOS | HIB_FIXED); - m_pCheckLB->Hide(true); + m_pCheckLB->Hide(); } else { diff --git a/include/svx/svxdlg.hxx b/include/svx/svxdlg.hxx index 34ae403e3edd..4d51d1c85398 100644 --- a/include/svx/svxdlg.hxx +++ b/include/svx/svxdlg.hxx @@ -140,7 +140,7 @@ public: // in class Window virtual void SetSizePixel( const Size& rNewSize ) = 0; virtual Size GetSizePixel() const = 0; - virtual void Hide( sal_uInt16 nFlags = 0 ) = 0; + virtual void Hide() = 0; virtual sal_Bool IsVisible() const = 0; virtual void Invalidate( sal_uInt16 nFlags = 0 ) = 0; }; diff --git a/include/vcl/window.hxx b/include/vcl/window.hxx index fc7e2e0694c7..991daf6796d1 100644 --- a/include/vcl/window.hxx +++ b/include/vcl/window.hxx @@ -721,7 +721,7 @@ public: Dialog* GetParentDialog() const; void Show( sal_Bool bVisible = sal_True, sal_uInt16 nFlags = 0 ); - void Hide( sal_uInt16 nFlags = 0 ) { Show( sal_False, nFlags ); } + void Hide() { Show( sal_False ); } sal_Bool IsVisible() const; sal_Bool IsReallyVisible() const; sal_Bool IsReallyShown() const; diff --git a/sc/source/ui/miscdlgs/mvtabdlg.cxx b/sc/source/ui/miscdlgs/mvtabdlg.cxx index 7c169ba531fb..97f225892af4 100644 --- a/sc/source/ui/miscdlgs/mvtabdlg.cxx +++ b/sc/source/ui/miscdlgs/mvtabdlg.cxx @@ -196,7 +196,7 @@ void ScMoveTableDlg::CheckNewTabName() } else { - pFtWarn->Hide(sal_True); + pFtWarn->Hide(); pFtWarn->SetControlBackground(); pFtWarn->SetText(OUString()); pBtnOk->Enable(); @@ -225,7 +225,7 @@ void ScMoveTableDlg::Init() pBtnMove->Check( true ); pBtnCopy->Check( false ); pEdTabName->Enable(false); - pFtWarn->Hide(sal_True); + pFtWarn->Hide(); InitDocListBox(); SelHdl( pLbDoc ); }