diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/inc/strings.hrc | 1 | ||||
-rw-r--r-- | sc/source/ui/docshell/docsh.cxx | 4 | ||||
-rw-r--r-- | sc/source/ui/inc/docsh.hxx | 2 |
3 files changed, 0 insertions, 7 deletions
diff --git a/sc/inc/strings.hrc b/sc/inc/strings.hrc index 128de8f042c4..9a44676ffbd3 100644 --- a/sc/inc/strings.hrc +++ b/sc/inc/strings.hrc @@ -27,7 +27,6 @@ #define SCSTR_LONG_SCDOC_NAME_60 NC_("SCSTR_LONG_SCDOC_NAME", "%PRODUCTNAME Spreadsheet format (calc6)") #define SCSTR_LONG_SCDOC_NAME_80 NC_("SCSTR_LONG_SCDOC_NAME", "%PRODUCTNAME %PRODUCTVERSION Spreadsheet") -#define SCSTR_SHORT_SCDOC_NAME NC_("SCSTR_SHORT_SCDOC_NAME", "Spreadsheet") #define SCSTR_UNDEFINED NC_("SCSTR_UNDEFINED", "- undefined -") #define SCSTR_NONE NC_("SCSTR_NONE", "- none -") #define SCSTR_ALL NC_("SCSTR_ALL", "- all -") diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx index 770c828b6d37..d0f246e73d12 100644 --- a/sc/source/ui/docshell/docsh.cxx +++ b/sc/source/ui/docshell/docsh.cxx @@ -175,9 +175,7 @@ SFX_IMPL_OBJECTFACTORY( ScDocShell, SvGlobalName(SO3_SC_CLASSID), "scalc" ) void ScDocShell::FillClass( SvGlobalName* pClassName, SotClipboardFormatId* pFormat, - OUString* /* pAppName */, OUString* pFullTypeName, - OUString* pShortTypeName, sal_Int32 nFileFormat, bool bTemplate /* = false */) const { @@ -186,14 +184,12 @@ void ScDocShell::FillClass( SvGlobalName* pClassName, *pClassName = SvGlobalName( SO3_SC_CLASSID_60 ); *pFormat = SotClipboardFormatId::STARCALC_60; *pFullTypeName = ScResId( SCSTR_LONG_SCDOC_NAME_60 ); - *pShortTypeName = ScResId( SCSTR_SHORT_SCDOC_NAME ); } else if ( nFileFormat == SOFFICE_FILEFORMAT_8 ) { *pClassName = SvGlobalName( SO3_SC_CLASSID_60 ); *pFormat = bTemplate ? SotClipboardFormatId::STARCALC_8_TEMPLATE : SotClipboardFormatId::STARCALC_8; *pFullTypeName = ScResId( SCSTR_LONG_SCDOC_NAME_80 ); - *pShortTypeName = ScResId(SCSTR_SHORT_SCDOC_NAME); } else { diff --git a/sc/source/ui/inc/docsh.hxx b/sc/source/ui/inc/docsh.hxx index 1878a234c00a..528f85e3a830 100644 --- a/sc/source/ui/inc/docsh.hxx +++ b/sc/source/ui/inc/docsh.hxx @@ -179,9 +179,7 @@ public: virtual void FillClass( SvGlobalName * pClassName, SotClipboardFormatId * pFormat, - OUString * pAppName, OUString * pFullTypeName, - OUString * pShortTypeName, sal_Int32 nFileFormat, bool bTemplate = false ) const override; |