summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-01-08 08:36:57 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-01-08 10:05:45 +0100
commit7a26512fdbef282e77028f0f318faf72b11190ee (patch)
tree3e44330b2aa3e65b8d8815abcf9214e04642ddc8 /sfx2
parent31c1995037a7ad408a5af6917288d8e3888a472d (diff)
loplugin:constantparam
Change-Id: Id5c7e66b8f8bc324f097dd739ce683d74fc6491b Reviewed-on: https://gerrit.libreoffice.org/65953 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/tabdlg.cxx12
1 files changed, 2 insertions, 10 deletions
diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx
index be6132434c54..f17752082c35 100644
--- a/sfx2/source/dialog/tabdlg.cxx
+++ b/sfx2/source/dialog/tabdlg.cxx
@@ -388,7 +388,7 @@ SfxTabDialog::SfxTabDialog
, m_bStandardPushed(false)
, m_pExampleSet(nullptr)
{
- Init_Impl(/*bEditFmt*/false);
+ Init_Impl();
sal_uInt16 nPageCount = m_pTabCtrl->GetPageCount();
for (sal_uInt16 nPage = 0; nPage < nPageCount; ++nPage)
@@ -466,7 +466,7 @@ void SfxTabDialog::dispose()
TabDialog::dispose();
}
-void SfxTabDialog::Init_Impl(bool bFmtFlag)
+void SfxTabDialog::Init_Impl()
/* [Description]
internal initialization of the dialogue
@@ -539,14 +539,6 @@ void SfxTabDialog::Init_Impl(bool bFmtFlag)
m_pUserBtn->Show();
}
- if ( bFmtFlag )
- {
- m_pBaseFmtBtn->SetText( SfxResId( STR_STANDARD_SHORTCUT ) );
- m_pBaseFmtBtn->SetClickHdl( LINK( this, SfxTabDialog, BaseFmtHdl ) );
- m_pBaseFmtBtn->SetHelpId( HID_TABDLG_STANDARD_BTN );
- m_pBaseFmtBtn->Show();
- }
-
if ( m_pSet )
{
m_pExampleSet = new SfxItemSet( *m_pSet );