diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-04-04 21:30:30 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-04-05 13:59:05 +0100 |
commit | 5688b51bcb23b12b335dadf4430b7b7c4407cbfb (patch) | |
tree | b2c358d422775d0d9d312cca653c9e4e7b989ed2 /svtools/source | |
parent | dd20a8c6e2ebeceff90567597d712e4c03c2ac7d (diff) |
UniString::CreateFromInt32 -> rtl::OUString::valueOf
Diffstat (limited to 'svtools/source')
-rw-r--r-- | svtools/source/brwbox/datwin.cxx | 4 |
1 files changed, 2 insertions, 2 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 ) |