summaryrefslogtreecommitdiff
path: root/sd/source/ui/dlg/present.cxx
diff options
context:
space:
mode:
authorJean-Noël Rouvignac <jn.rouvignac@gmail.com>2013-02-20 00:20:41 +0100
committerMichael Stahl <mstahl@redhat.com>2013-02-22 17:23:19 +0000
commit6119e15c8b2b19c6ea3c271fb1c9d7e047902e77 (patch)
tree8091c89f3bb3e95c1238078152871b8819f0bdc3 /sd/source/ui/dlg/present.cxx
parenteb451cbc1aa2f96b1a913d85823ef27275ad367b (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: I7c047cf1c90632bddc23ed49f9455d745ac8688e Reviewed-on: https://gerrit.libreoffice.org/2282 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sd/source/ui/dlg/present.cxx')
-rw-r--r--sd/source/ui/dlg/present.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/dlg/present.cxx b/sd/source/ui/dlg/present.cxx
index 1e1a8125cd10..8f91e387aee6 100644
--- a/sd/source/ui/dlg/present.cxx
+++ b/sd/source/ui/dlg/present.cxx
@@ -201,7 +201,7 @@ void SdStartPresentationDlg::InitMonitorSettings()
for( sal_Int32 nDisplay = 0; nDisplay < mnMonitors; nDisplay++ )
{
String aName( nDisplay == nExternalIndex ? msExternalMonitor : msMonitor );
- const String aNumber( String::CreateFromInt32( nDisplay + 1 ) );
+ const String aNumber( OUString::number( nDisplay + 1 ) );
aName.SearchAndReplace( sPlaceHolder, aNumber );
maLBMonitor.InsertEntry( aName );