summaryrefslogtreecommitdiff
path: root/sc/source/filter/starcalc
diff options
context:
space:
mode:
authorJean-Noël Rouvignac <jn.rouvignac@gmail.com>2013-02-24 16:08:05 +0100
committerThomas Arnhold <thomas@arnhold.org>2013-02-26 15:51:23 +0000
commit465dbaecf9890b7117a45d02ea982ef7aca32720 (patch)
tree69b31b155bc17799d260aa9addd4fb855757a42d /sc/source/filter/starcalc
parent73b50b73366f069b2ba680cec35b09d566209109 (diff)
fdo#38838 Replaced some use of (Xub)String with OUString.
Change-Id: I5a8f2d1a5762c20d21d31b04778a9e2cac8df9cb Reviewed-on: https://gerrit.libreoffice.org/2364 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
Diffstat (limited to 'sc/source/filter/starcalc')
-rw-r--r--sc/source/filter/starcalc/scflt.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/sc/source/filter/starcalc/scflt.cxx b/sc/source/filter/starcalc/scflt.cxx
index 1f6a96921bb7..26811c3a84d7 100644
--- a/sc/source/filter/starcalc/scflt.cxx
+++ b/sc/source/filter/starcalc/scflt.cxx
@@ -379,10 +379,7 @@ static void lcl_ChangeColor( sal_uInt16 nIndex, Color& rColor )
static String lcl_MakeOldPageStyleFormatName( sal_uInt16 i )
{
- String aName = ScGlobal::GetRscString( STR_PAGESTYLE );
- aName.AppendAscii( " " );
- aName += OUString::number( i + 1 );
-
+ OUString aName = ScGlobal::GetRscString( STR_PAGESTYLE ) + " " + OUString::number( i + 1 );
return aName;
}