summaryrefslogtreecommitdiff
path: root/sc/source/core/data/stlpool.cxx
diff options
context:
space:
mode:
authorJean-Noël Rouvignac <jn.rouvignac@gmail.com>2013-02-20 00:17:30 +0100
committerMichael Stahl <mstahl@redhat.com>2013-02-22 17:27:53 +0000
commitbb5fa449378d6535932d39f2357c06e181647346 (patch)
treea6bb8252b2672e6a3edf42e0a7e8caeb9a19b247 /sc/source/core/data/stlpool.cxx
parent6119e15c8b2b19c6ea3c271fb1c9d7e047902e77 (diff)
fdo#38838 search replace for String::CreateFromInt32().
I ran the following code replace: s/(Uni|Xub)?String\s*::\s*CreateFromInt32/OUString::number/ Change-Id: I45edaec4de2481ad45f9bcae2e280d5aca487714 Reviewed-on: https://gerrit.libreoffice.org/2281 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sc/source/core/data/stlpool.cxx')
-rw-r--r--sc/source/core/data/stlpool.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/stlpool.cxx b/sc/source/core/data/stlpool.cxx
index ce17027e7237..0dc76c3b411a 100644
--- a/sc/source/core/data/stlpool.cxx
+++ b/sc/source/core/data/stlpool.cxx
@@ -96,7 +96,7 @@ SfxStyleSheetBase& ScStyleSheetPool::Make( const String& rName,
for ( sal_uInt32 nAdd = 1; nAdd <= nCount; nAdd++ )
{
String aNewName = ScGlobal::GetRscString(STR_STYLENAME_STANDARD);
- aNewName += String::CreateFromInt32( nAdd );
+ aNewName += OUString::number( nAdd );
if ( Find( aNewName, eFam ) == NULL )
return SfxStyleSheetPool::Make( aNewName, eFam, mask, nPos );
}