diff options
author | Jean-Noël Rouvignac <jn.rouvignac@gmail.com> | 2013-02-20 00:17:30 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-02-22 17:27:53 +0000 |
commit | bb5fa449378d6535932d39f2357c06e181647346 (patch) | |
tree | a6bb8252b2672e6a3edf42e0a7e8caeb9a19b247 /sc/source/core/data/docpool.cxx | |
parent | 6119e15c8b2b19c6ea3c271fb1c9d7e047902e77 (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/docpool.cxx')
-rw-r--r-- | sc/source/core/data/docpool.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/core/data/docpool.cxx b/sc/source/core/data/docpool.cxx index 535a48061b02..e7f008c7bc87 100644 --- a/sc/source/core/data/docpool.cxx +++ b/sc/source/core/data/docpool.cxx @@ -917,7 +917,7 @@ SfxItemPresentation ScDocumentPool::GetPresentation( case SFX_ITEM_PRESENTATION_NAMELESS: { String aPages( ScGlobal::GetRscString( STR_SCATTR_PAGE_SCALE_PAGES ) ); - aPages.SearchAndReplaceAscii( "%1", String::CreateFromInt32( nPagNo ) ); + aPages.SearchAndReplaceAscii( "%1", OUString::number( nPagNo ) ); rText += aPages; } break; @@ -946,7 +946,7 @@ SfxItemPresentation ScDocumentPool::GetPresentation( rText = ScGlobal::GetRscString(STR_SCATTR_PAGE_FIRSTPAGENO) + aStrSep; // break; // DURCHFALLEN!!! case SFX_ITEM_PRESENTATION_NAMELESS: - rText += String::CreateFromInt32( nPagNo ); + rText += OUString::number( nPagNo ); break; default: { |