diff options
Diffstat (limited to 'svtools/source/brwbox/datwin.cxx')
-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 9fa22a8936f3..2f2543c9ef30 100644 --- a/svtools/source/brwbox/datwin.cxx +++ b/svtools/source/brwbox/datwin.cxx @@ -726,12 +726,12 @@ void BrowserScrollBar::Tracking( const TrackingEvent& rTEvt ) sal_uLong nPos = GetThumbPos(); if ( nPos != _nLastPos ) { - String aTip( rtl::OUString::valueOf(static_cast<sal_Int32>(nPos)) ); + String aTip( OUString::number(nPos) ); aTip += '/'; if ( _pDataWin->GetRealRowCount().Len() ) aTip += _pDataWin->GetRealRowCount(); else - aTip += rtl::OUString::valueOf(static_cast<sal_Int32>(GetRangeMax())); + aTip += OUString::number(GetRangeMax()); Rectangle aRect( GetPointerPosPixel(), Size( GetTextHeight(), GetTextWidth( aTip ) ) ); if ( _nTip ) |