diff options
author | Noel Grandin <noel@peralex.com> | 2013-09-03 09:02:14 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-09-05 08:54:24 +0200 |
commit | a9c5c89f22c2c7c1a43a27f18eda8a2f67eff917 (patch) | |
tree | 8dc822575ca4a82f9085882518bef933fe86bf1d /svx/source/stbctrls | |
parent | 0a76e5679c21fc061708f7afc8b34c8879a92143 (diff) |
convert include/svx/pszctrl.hxx from String to OUString
Change-Id: I9ed9781b3beb16b680206dcfcb8eb63b7f31ecb7
Diffstat (limited to 'svx/source/stbctrls')
-rw-r--r-- | svx/source/stbctrls/pszctrl.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/svx/source/stbctrls/pszctrl.cxx b/svx/source/stbctrls/pszctrl.cxx index 1dcd3e584beb..537ac12579cc 100644 --- a/svx/source/stbctrls/pszctrl.cxx +++ b/svx/source/stbctrls/pszctrl.cxx @@ -59,29 +59,29 @@ <SvxPosSizeStatusBarControl::Paint(const UserDrawEvent&)> */ -String SvxPosSizeStatusBarControl::GetMetricStr_Impl( long nVal ) +OUString SvxPosSizeStatusBarControl::GetMetricStr_Impl( long nVal ) { // deliver and set the Metric of the application FieldUnit eOutUnit = SfxModule::GetModuleFieldUnit( getFrameInterface() ); FieldUnit eInUnit = FUNIT_100TH_MM; - String sMetric; + OUString sMetric; const sal_Unicode cSep = Application::GetSettings().GetLocaleDataWrapper().getNumDecimalSep()[0]; sal_Int64 nConvVal = MetricField::ConvertValue( nVal * 100, 0L, 0, eInUnit, eOutUnit ); if ( nConvVal < 0 && ( nConvVal / 100 == 0 ) ) - sMetric += '-'; + sMetric += "-"; sMetric += OUString::number(nConvVal / 100); if( FUNIT_NONE != eOutUnit ) { - sMetric += cSep; + sMetric += OUString(cSep); sal_Int64 nFract = nConvVal % 100; if ( nFract < 0 ) nFract *= -1; if ( nFract < 10 ) - sMetric += '0'; + sMetric += "0"; sMetric += OUString::number(nFract); } |