Kaydet (Commit) 7a26512f authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:constantparam

Change-Id: Id5c7e66b8f8bc324f097dd739ce683d74fc6491b
Reviewed-on: https://gerrit.libreoffice.org/65953
Tested-by: Jenkins
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 31c19950
......@@ -96,7 +96,7 @@ friend class SfxTabDialogUIObject;
DECL_DLLPRIVATE_LINK(BaseFmtHdl, Button*, void);
DECL_DLLPRIVATE_LINK(UserHdl, Button*, void);
DECL_DLLPRIVATE_LINK(CancelHdl, Button*, void);
SAL_DLLPRIVATE void Init_Impl(bool bFmtFlag);
SAL_DLLPRIVATE void Init_Impl();
protected:
virtual short Ok();
......
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment