diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-01 14:52:24 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-03-02 07:57:36 +0200 |
commit | bd5ceabb533a3af7e4140e195de885bf23f650bf (patch) | |
tree | 5178589f4616f7d5da32e88eb09f3a73279f63ff /cui | |
parent | 0d34f4ac9b17348d7956285c6cefb28bea2537b6 (diff) |
loplugin:unuseddefaultparam in sfx2
Change-Id: I37afde801a6468c79259fe51acbdea0614c2c8c5
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/factory/dlgfact.cxx | 11 | ||||
-rw-r--r-- | cui/source/factory/dlgfact.hxx | 9 |
2 files changed, 7 insertions, 13 deletions
diff --git a/cui/source/factory/dlgfact.cxx b/cui/source/factory/dlgfact.cxx index baef86748e7c..2e29be257905 100644 --- a/cui/source/factory/dlgfact.cxx +++ b/cui/source/factory/dlgfact.cxx @@ -370,10 +370,9 @@ void AbstractPasteDialog_Impl::SetObjName( const SvGlobalName & rClass, const OU } SotClipboardFormatId AbstractPasteDialog_Impl::GetFormat( const TransferableDataHelper& aHelper, - const DataFlavorExVector* pFormats, - const TransferableObjectDescriptor* pDesc ) + const DataFlavorExVector* pFormats ) { - return pDlg->GetFormat( aHelper, pFormats, pDesc ); + return pDlg->GetFormat( aHelper, pFormats ); } void AbstractFmShowColsDialog_Impl::SetColumns(const ::Reference< css::container::XIndexContainer>& xCols) @@ -880,8 +879,7 @@ SfxAbstractTabDialog* AbstractDialogFactory_Impl::CreateTabDialog( sal_uInt32 nR vcl::Window* pParent, const SfxItemSet* pAttrSet, SfxViewFrame* , - bool /*bEditFmt*/, - const OUString * ) + bool /*bEditFmt*/ ) { SfxTabDialog* pDlg=nullptr; switch ( nResId ) @@ -905,8 +903,7 @@ SfxAbstractTabDialog* AbstractDialogFactory_Impl::CreateTabDialog( sal_uInt32 nR vcl::Window* pParent, const SfxItemSet* pAttrSet, const Reference< frame::XFrame >& xViewFrame, - bool /*bEditFmt*/, - const OUString * ) + bool /*bEditFmt*/ ) { VclPtr<SfxTabDialog> pDlg; switch ( nResId ) diff --git a/cui/source/factory/dlgfact.hxx b/cui/source/factory/dlgfact.hxx index 418b507c0590..9b45704d8f92 100644 --- a/cui/source/factory/dlgfact.hxx +++ b/cui/source/factory/dlgfact.hxx @@ -433,8 +433,7 @@ public: virtual void Insert( SotClipboardFormatId nFormat, const OUString & rFormatName ) override; virtual void SetObjName( const SvGlobalName & rClass, const OUString & rObjName ) override; virtual SotClipboardFormatId GetFormat( const TransferableDataHelper& aHelper, - const DataFlavorExVector* pFormats=nullptr, - const TransferableObjectDescriptor* pDesc=nullptr ) override; + const DataFlavorExVector* pFormats=nullptr ) override; }; class AbstractLinksDialog_Impl : public SfxAbstractLinksDialog @@ -497,14 +496,12 @@ public: vcl::Window* pParent, const SfxItemSet* pAttrSet, SfxViewFrame* pViewFrame, - bool bEditFmt=false, - const OUString *pUserButtonText=nullptr ) override; + bool bEditFmt=false ) override; virtual SfxAbstractTabDialog* CreateTabDialog( sal_uInt32 nResId, vcl::Window* pParent, const SfxItemSet* pAttrSet, const css::uno::Reference< css::frame::XFrame >& xViewFrame, - bool bEditFmt=false, - const OUString *pUserButtonText=nullptr ) override; + bool bEditFmt=false ) override; virtual SfxAbstractTabDialog* CreateTextTabDialog( vcl::Window* pParent, const SfxItemSet* pAttrSet, SdrView* pView ) override; |