diff options
Diffstat (limited to 'sc/source/ui/view/cellsh3.cxx')
-rw-r--r-- | sc/source/ui/view/cellsh3.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sc/source/ui/view/cellsh3.cxx b/sc/source/ui/view/cellsh3.cxx index 72cf8c94908f..b7d6750b3314 100644 --- a/sc/source/ui/view/cellsh3.cxx +++ b/sc/source/ui/view/cellsh3.cxx @@ -430,12 +430,14 @@ void ScCellShell::Execute( SfxRequest& rReq ) { SCTAB i=1; String aBaseName; - String aName; - String aComment; + rtl::OUString aName; + rtl::OUString aComment; Color aColor; sal_uInt16 nFlags; - pDoc->GetName( nTab, aBaseName ); + rtl::OUString aTmp; + pDoc->GetName(nTab, aTmp); + aBaseName = aTmp; aBaseName += '_'; aBaseName += ScGlobal::GetRscString(STR_SCENARIO); aBaseName += '_'; |