summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-10-18 14:06:01 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-10-21 13:06:49 +0200
commit0c1ab11c9fa24eb2d4a4d08387d314e04c0aafee (patch)
tree545fa93f0826e27d82e8de6ab693e1c39ac3a053 /basctl
parentbbe6bc271ac560991ac41b5beeb7ccc139168f1e (diff)
loplugin:virtualdead unused param in SfxObjectShell::FillClass
and since I notice that the two call sites also don't care about pShortTypeName, remove that too Change-Id: I4649fc4c134c1113555b9dedb53499ce39d17132 Reviewed-on: https://gerrit.libreoffice.org/81213 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basctl')
-rw-r--r--basctl/source/basicide/basdoc.cxx2
-rw-r--r--basctl/source/basicide/basdoc.hxx2
2 files changed, 1 insertions, 3 deletions
diff --git a/basctl/source/basicide/basdoc.cxx b/basctl/source/basicide/basdoc.cxx
index 2c3b621a734a..58c4097284e4 100644
--- a/basctl/source/basicide/basdoc.cxx
+++ b/basctl/source/basicide/basdoc.cxx
@@ -77,7 +77,7 @@ void DocShell::SetPrinter( SfxPrinter* pPr )
}
}
-void DocShell::FillClass( SvGlobalName*, SotClipboardFormatId*, OUString*, OUString*, OUString*, sal_Int32, bool bTemplate) const
+void DocShell::FillClass( SvGlobalName*, SotClipboardFormatId*, OUString*, sal_Int32, bool bTemplate) const
{
DBG_ASSERT( !bTemplate, "No template for Basic" );
}
diff --git a/basctl/source/basicide/basdoc.hxx b/basctl/source/basicide/basdoc.hxx
index f06b7cf9fe23..1223a0166704 100644
--- a/basctl/source/basicide/basdoc.hxx
+++ b/basctl/source/basicide/basdoc.hxx
@@ -39,9 +39,7 @@ protected:
sal_uInt16 nAspect ) override;
virtual void FillClass( SvGlobalName * pClassName,
SotClipboardFormatId * pFormat,
- OUString * pAppName,
OUString * pFullTypeName,
- OUString * pShortTypeName,
sal_Int32 nVersion,
bool bTemplate = false ) const override;