From 6df22f0ec513415cf6c920c1f8063dabe7303c06 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 16 May 2017 12:36:22 +0200 Subject: loplugin:checkunusedparams various Change-Id: I5d1cc807134230d86e0226a12fada204004312d3 Reviewed-on: https://gerrit.libreoffice.org/37675 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sd/source/ui/app/sdxfer.cxx | 4 ++-- sd/source/ui/dlg/SpellDialogChildWindow.cxx | 2 +- sd/source/ui/inc/sdxfer.hxx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'sd') diff --git a/sd/source/ui/app/sdxfer.cxx b/sd/source/ui/app/sdxfer.cxx index 0126407f8f38..03e32c708577 100644 --- a/sd/source/ui/app/sdxfer.cxx +++ b/sd/source/ui/app/sdxfer.cxx @@ -468,7 +468,7 @@ bool SdTransferable::GetData( const DataFlavor& rFlavor, const OUString& rDestDo if( nFormat == SotClipboardFormatId::RTF && lcl_HasOnlyOneTable( mpSdDrawDocument ) ) { - bOK = SetTableRTF( mpSdDrawDocument, rFlavor ); + bOK = SetTableRTF( mpSdDrawDocument ); } else if( mpOLEDataHelper && mpOLEDataHelper->HasFormat( rFlavor ) ) { @@ -832,7 +832,7 @@ void SdTransferable::SetView(const ::sd::View* pView) StartListening(*const_cast(mpSdView)); } -bool SdTransferable::SetTableRTF( SdDrawDocument* pModel, const DataFlavor& /*rFlavor*/) +bool SdTransferable::SetTableRTF( SdDrawDocument* pModel ) { if ( pModel ) { diff --git a/sd/source/ui/dlg/SpellDialogChildWindow.cxx b/sd/source/ui/dlg/SpellDialogChildWindow.cxx index 0ced6dc52ff4..28ba1fe0245f 100644 --- a/sd/source/ui/dlg/SpellDialogChildWindow.cxx +++ b/sd/source/ui/dlg/SpellDialogChildWindow.cxx @@ -35,7 +35,7 @@ SpellDialogChildWindow::SpellDialogChildWindow ( vcl::Window* _pParent, sal_uInt16 nId, SfxBindings* pBindings, - SfxChildWinInfo* /*pInfo*/) + SAL_UNUSED_PARAMETER SfxChildWinInfo* /*pInfo*/) : svx::SpellDialogChildWindow (_pParent, nId, pBindings), mpSdOutliner (nullptr), mbOwnOutliner (false) diff --git a/sd/source/ui/inc/sdxfer.hxx b/sd/source/ui/inc/sdxfer.hxx index de543234cad9..a8ae438da46d 100644 --- a/sd/source/ui/inc/sdxfer.hxx +++ b/sd/source/ui/inc/sdxfer.hxx @@ -69,7 +69,7 @@ public: const std::vector& GetPageBookmarks() const { return maPageBookmarks; } ::sd::DrawDocShell* GetPageDocShell() const { return mpPageDocShell; } - bool SetTableRTF( SdDrawDocument*, const css::datatransfer::DataFlavor& ); + bool SetTableRTF( SdDrawDocument* ); static const css::uno::Sequence< sal_Int8 >& getUnoTunnelId(); static SdTransferable* getImplementation( const css::uno::Reference< css::uno::XInterface >& rxData ) throw(); -- cgit