From 1fbc20dad2520862f8142f1cabae169bf1450b87 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 4 Mar 2016 10:11:14 +0200 Subject: loplugin:unuseddefaultparam in svx Change-Id: Iacd4ed12c6c5dfdc2f31f85c8c1ce2cee8a8641f --- cui/source/factory/dlgfact.cxx | 5 ++--- cui/source/factory/dlgfact.hxx | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'cui') diff --git a/cui/source/factory/dlgfact.cxx b/cui/source/factory/dlgfact.cxx index 01b4143b01d9..12db20ab7fb9 100644 --- a/cui/source/factory/dlgfact.cxx +++ b/cui/source/factory/dlgfact.cxx @@ -943,10 +943,9 @@ AbstractSvxCaptionDialog* AbstractDialogFactory_Impl::CreateCaptionDialog( } AbstractSvxDistributeDialog* AbstractDialogFactory_Impl::CreateSvxDistributeDialog(vcl::Window* pParent, - const SfxItemSet& rAttr, - SvxDistributeHorizontal eHor) + const SfxItemSet& rAttr) { - VclPtrInstance pDlg( pParent, rAttr, eHor, SvxDistributeVerticalNone); + VclPtrInstance pDlg( pParent, rAttr, SvxDistributeHorizontalNone, SvxDistributeVerticalNone); return new AbstractSvxDistributeDialog_Impl( pDlg ); } diff --git a/cui/source/factory/dlgfact.hxx b/cui/source/factory/dlgfact.hxx index 27eec401049c..d3d909253911 100644 --- a/cui/source/factory/dlgfact.hxx +++ b/cui/source/factory/dlgfact.hxx @@ -508,8 +508,7 @@ public: const SdrView* pView, sal_uInt16 nAnchorTypes = 0 ) override; virtual AbstractSvxDistributeDialog* CreateSvxDistributeDialog(vcl::Window* pParent, - const SfxItemSet& rAttr, - SvxDistributeHorizontal eHor = SvxDistributeHorizontalNone) override; + const SfxItemSet& rAttr) override; virtual SfxAbstractInsertObjectDialog* CreateInsertObjectDialog( vcl::Window* pParent, const OUString& rCommmand, const css::uno::Reference < css::embed::XStorage >& xStor, const SvObjectServerList* pList = nullptr ) override; -- cgit