diff options
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/inc/document.hxx | 2 | ||||
-rw-r--r-- | starmath/source/document.cxx | 4 |
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); } } |