From 1c3ffcdd4e702264728d222046c401b90cb1c8c9 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 11 Jun 2018 13:50:47 +0200 Subject: loplugin:constantparam Change-Id: Ia769b3176aea287cd57414d7ce8e88c6da43883e Reviewed-on: https://gerrit.libreoffice.org/55622 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sfx2/source/dialog/tabdlg.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sfx2') diff --git a/sfx2/source/dialog/tabdlg.cxx b/sfx2/source/dialog/tabdlg.cxx index fcbc22b46783..5521fe9a0305 100644 --- a/sfx2/source/dialog/tabdlg.cxx +++ b/sfx2/source/dialog/tabdlg.cxx @@ -1448,9 +1448,8 @@ SfxTabDialogController::SfxTabDialogController ( weld::Window* pParent, // Parent Window const OUString& rUIXMLDescription, const OString& rID, // Dialog .ui path, Dialog Name - const SfxItemSet* pItemSet, // Itemset with the data; + const SfxItemSet* pItemSet // Itemset with the data; // can be NULL, when Pages are onDemand - bool bEditFmt // when yes -> additional Button for standard ) : GenericDialogController(pParent, rUIXMLDescription, rID) , m_xTabCtrl(m_xBuilder->weld_notebook("tabcontrol")) @@ -1463,7 +1462,7 @@ SfxTabDialogController::SfxTabDialogController , m_pOutSet(nullptr) , m_pRanges(nullptr) { - Init_Impl(bEditFmt); + Init_Impl(/*bEditFmt*/false); } void SfxTabDialogController::Init_Impl(bool /*bFmtFlag*/) -- cgit