diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-01-14 14:56:42 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-01-14 14:56:42 +0100 |
commit | b32b45c50cc7b782554b0da722913f697434647d (patch) | |
tree | 9bd4e156bcdc62a8e5947076100542fe9cf28239 /cui | |
parent | 8638560a8b24116bdb26a43fd183ec758410543f (diff) |
nFlags parameter to Window::Hide appears effectively unused
...there was a handful of Hide(true) calls, which would happen to actually mean
Show(false, SHOW_NOPARENTUPDATE)
but I assume those were typos rather than genuine requests for
SHOW_NOPARENTUPDATE.
Change-Id: I20310d58437bb556f95965885f82784f855b517d
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/dialogs/passwdomdlg.cxx | 2 | ||||
-rw-r--r-- | cui/source/factory/dlgfact.cxx | 4 | ||||
-rw-r--r-- | cui/source/factory/dlgfact.hxx | 2 | ||||
-rw-r--r-- | cui/source/tabpages/autocdlg.cxx | 2 |
4 files changed, 5 insertions, 5 deletions
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 { |