summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-04-04 21:30:30 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-04-05 13:59:05 +0100
commit5688b51bcb23b12b335dadf4430b7b7c4407cbfb (patch)
treeb2c358d422775d0d9d312cca653c9e4e7b989ed2 /svtools
parentdd20a8c6e2ebeceff90567597d712e4c03c2ac7d (diff)
UniString::CreateFromInt32 -> rtl::OUString::valueOf
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/brwbox/datwin.cxx4
-rw-r--r--svtools/workben/svdem.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/brwbox/datwin.cxx b/svtools/source/brwbox/datwin.cxx
index 8db2a1580103..40beb7da7213 100644
--- a/svtools/source/brwbox/datwin.cxx
+++ b/svtools/source/brwbox/datwin.cxx
@@ -738,12 +738,12 @@ void BrowserScrollBar::Tracking( const TrackingEvent& rTEvt )
sal_uLong nPos = GetThumbPos();
if ( nPos != _nLastPos )
{
- String aTip( String::CreateFromInt32(nPos) );
+ String aTip( rtl::OUString::valueOf(static_cast<sal_Int32>(nPos)) );
aTip += '/';
if ( _pDataWin->GetRealRowCount().Len() )
aTip += _pDataWin->GetRealRowCount();
else
- aTip += String::CreateFromInt32(GetRangeMax());
+ aTip += rtl::OUString::valueOf(static_cast<sal_Int32>(GetRangeMax()));
Rectangle aRect( GetPointerPosPixel(), Size( GetTextHeight(), GetTextWidth( aTip ) ) );
if ( _nTip )
diff --git a/svtools/workben/svdem.cxx b/svtools/workben/svdem.cxx
index be6ce3d6d382..c18e749b21f1 100644
--- a/svtools/workben/svdem.cxx
+++ b/svtools/workben/svdem.cxx
@@ -308,7 +308,7 @@ void ShowFont::Paint( const Rectangle& )
if ( rFont.GetOrientation() )
{
- aText.Append( String::CreateFromInt32( rFont.GetOrientation()/10 ) );
+ aText.Append( rtl::OUString::valueOf(static_cast<sal_Int32>(rFont.GetOrientation()/10)) );
aText.AppendAscii( " degree." );
x = aWindowSize.Width()/2;