summaryrefslogtreecommitdiff
path: root/sc/source/filter/ftools
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/ftools
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/ftools')
-rw-r--r--sc/source/filter/ftools/ftools.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/filter/ftools/ftools.cxx b/sc/source/filter/ftools/ftools.cxx
index be9f26818928..5b88cecd237e 100644
--- a/sc/source/filter/ftools/ftools.cxx
+++ b/sc/source/filter/ftools/ftools.cxx
@@ -304,8 +304,8 @@ const String& ScfTools::GetHTMLNamePrefix()
String ScfTools::GetNameFromHTMLIndex( sal_uInt32 nIndex )
{
- String aName( GetHTMLIndexPrefix() );
- aName += OUString::number( static_cast< sal_Int32 >( nIndex ) );
+ OUString aName = GetHTMLIndexPrefix() +
+ OUString::number( static_cast< sal_Int32 >( nIndex ) );
return aName;
}