From db93b92d78714ed193b3cbe52b18e3cfd9da99b8 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 17 Mar 2016 11:21:56 +0200 Subject: loplugin:constantparam in sfx2 Change-Id: I53e690ab8d50fb3ce43ba633fc018e7b66e591cd Reviewed-on: https://gerrit.libreoffice.org/23321 Tested-by: Jenkins Reviewed-by: Noel Grandin --- cui/source/factory/dlgfact.cxx | 4 ++-- cui/source/factory/dlgfact.hxx | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'cui/source/factory') diff --git a/cui/source/factory/dlgfact.cxx b/cui/source/factory/dlgfact.cxx index 67cdd98128f8..e0abf1339287 100644 --- a/cui/source/factory/dlgfact.cxx +++ b/cui/source/factory/dlgfact.cxx @@ -1006,9 +1006,9 @@ AbstractDialogFactory_Impl::CreateScriptErrorDialog(const css::uno::Any& rExcept AbstractScriptSelectorDialog* AbstractDialogFactory_Impl::CreateScriptSelectorDialog( - vcl::Window* pParent, bool bShowSlots, const Reference< frame::XFrame >& _rxFrame ) + vcl::Window* pParent, const Reference< frame::XFrame >& _rxFrame ) { - VclPtrInstance pDlg(pParent, bShowSlots, _rxFrame); + VclPtrInstance pDlg(pParent, false/*bShowSlots*/, _rxFrame); return new AbstractScriptSelectorDialog_Impl(pDlg); } diff --git a/cui/source/factory/dlgfact.hxx b/cui/source/factory/dlgfact.hxx index 873ef11963ea..057284609158 100644 --- a/cui/source/factory/dlgfact.hxx +++ b/cui/source/factory/dlgfact.hxx @@ -627,7 +627,6 @@ public: virtual AbstractScriptSelectorDialog* CreateScriptSelectorDialog( vcl::Window* pParent, - bool bShowSlots, const css::uno::Reference< css::frame::XFrame >& _rxFrame ) override; -- cgit