summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-05-16 12:36:22 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-05-16 14:20:27 +0200
commit6df22f0ec513415cf6c920c1f8063dabe7303c06 (patch)
tree59d4d9205c51da0ffc14d895abdf00c1a4b8e8b7 /sd
parenta6f29aae36e5b07d877d7ea833b6d06b49b5574a (diff)
loplugin:checkunusedparams various
Change-Id: I5d1cc807134230d86e0226a12fada204004312d3 Reviewed-on: https://gerrit.libreoffice.org/37675 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/app/sdxfer.cxx4
-rw-r--r--sd/source/ui/dlg/SpellDialogChildWindow.cxx2
-rw-r--r--sd/source/ui/inc/sdxfer.hxx2
3 files changed, 4 insertions, 4 deletions
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<sd::View*>(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<OUString>& 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();