summaryrefslogtreecommitdiff
path: root/svx/source/stbctrls/zoomctrl.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 /svx/source/stbctrls/zoomctrl.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 'svx/source/stbctrls/zoomctrl.cxx')
-rw-r--r--svx/source/stbctrls/zoomctrl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/source/stbctrls/zoomctrl.cxx b/svx/source/stbctrls/zoomctrl.cxx
index 74d73d2d0173..8ad0c2ef1435 100644
--- a/svx/source/stbctrls/zoomctrl.cxx
+++ b/svx/source/stbctrls/zoomctrl.cxx
@@ -120,7 +120,7 @@ void SvxZoomStatusBarControl::StateChanged( sal_uInt16, SfxItemState eState,
{
const SfxUInt16Item* pItem = (const SfxUInt16Item*)pState;
nZoom = pItem->GetValue();
- String aStr( String::CreateFromInt32(nZoom) );
+ String aStr( OUString::number(nZoom) );
aStr += '%';
GetStatusBar().SetItemText( GetId(), aStr );
@@ -140,7 +140,7 @@ void SvxZoomStatusBarControl::StateChanged( sal_uInt16, SfxItemState eState,
void SvxZoomStatusBarControl::Paint( const UserDrawEvent& )
{
- String aStr( String::CreateFromInt32( nZoom ));
+ String aStr( OUString::number( nZoom ));
aStr += '%';
GetStatusBar().SetItemText( GetId(), aStr );
}