diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-04 10:11:14 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-03-04 11:48:04 +0200 |
commit | 1fbc20dad2520862f8142f1cabae169bf1450b87 (patch) | |
tree | e27544a940a1d37031224db3b56b7fa88f836c3d /cui | |
parent | 9cc8a26fcdd4dbf7d5d65869bf84b824339751ce (diff) |
loplugin:unuseddefaultparam in svx
Change-Id: Iacd4ed12c6c5dfdc2f31f85c8c1ce2cee8a8641f
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/factory/dlgfact.cxx | 5 | ||||
-rw-r--r-- | cui/source/factory/dlgfact.hxx | 3 |
2 files changed, 3 insertions, 5 deletions
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<SvxDistributeDialog> pDlg( pParent, rAttr, eHor, SvxDistributeVerticalNone); + VclPtrInstance<SvxDistributeDialog> 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; |