diff options
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/docshell/docsh.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/docshell/docsh.cxx b/sc/source/ui/docshell/docsh.cxx index d465d8bb4f99..e70cf2de6862 100644 --- a/sc/source/ui/docshell/docsh.cxx +++ b/sc/source/ui/docshell/docsh.cxx @@ -214,8 +214,8 @@ void ScDocShell::FillClass( SvGlobalName* pClassName, { *pClassName = SvGlobalName( SO3_SC_CLASSID_60 ); *pFormat = bTemplate ? SOT_FORMATSTR_ID_STARCALC_8_TEMPLATE : SOT_FORMATSTR_ID_STARCALC_8; - *pFullTypeName = String( RTL_CONSTASCII_USTRINGPARAM("calc8") ); - *pShortTypeName = String( ScResId( SCSTR_SHORT_SCDOC_NAME ) ); + *pFullTypeName = rtl::OUString("calc8"); + *pShortTypeName = ScResId(SCSTR_SHORT_SCDOC_NAME).toString(); } else { |