summaryrefslogtreecommitdiff
path: root/starmath
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 /starmath
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 'starmath')
-rw-r--r--starmath/inc/document.hxx2
-rw-r--r--starmath/source/document.cxx4
2 files changed, 0 insertions, 6 deletions
diff --git a/starmath/inc/document.hxx b/starmath/inc/document.hxx
index dd1f540a3fe3..cc09c2ea0c9b 100644
--- a/starmath/inc/document.hxx
+++ b/starmath/inc/document.hxx
@@ -107,9 +107,7 @@ class SM_DLLPUBLIC SmDocShell : public SfxObjectShell, public SfxListener
virtual void FillClass(SvGlobalName* pClassName,
SotClipboardFormatId* pFormat,
- OUString* pAppName,
OUString* pFullTypeName,
- OUString* pShortTypeName,
sal_Int32 nFileFormat,
bool bTemplate = false ) const override;
diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx
index 62f0e0fc04fd..c3a56729284d 100644
--- a/starmath/source/document.cxx
+++ b/starmath/source/document.cxx
@@ -1258,9 +1258,7 @@ void SmDocShell::SetVisArea(const tools::Rectangle & rVisArea)
void SmDocShell::FillClass(SvGlobalName* pClassName,
SotClipboardFormatId* pFormat,
- OUString* /*pAppName*/,
OUString* pFullTypeName,
- OUString* pShortTypeName,
sal_Int32 nFileFormat,
bool bTemplate /* = false */) const
{
@@ -1269,14 +1267,12 @@ void SmDocShell::FillClass(SvGlobalName* pClassName,
*pClassName = SvGlobalName(SO3_SM_CLASSID_60);
*pFormat = SotClipboardFormatId::STARMATH_60;
*pFullTypeName = SmResId(STR_MATH_DOCUMENT_FULLTYPE_CURRENT);
- *pShortTypeName = SmResId(RID_DOCUMENTSTR);
}
else if (nFileFormat == SOFFICE_FILEFORMAT_8 )
{
*pClassName = SvGlobalName(SO3_SM_CLASSID_60);
*pFormat = bTemplate ? SotClipboardFormatId::STARMATH_8_TEMPLATE : SotClipboardFormatId::STARMATH_8;
*pFullTypeName = SmResId(STR_MATH_DOCUMENT_FULLTYPE_CURRENT);
- *pShortTypeName = SmResId(RID_DOCUMENTSTR);
}
}