diff options
author | Caolán McNamara <caolanm@redhat.com> | 2012-06-17 21:01:05 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-06-18 15:13:51 +0100 |
commit | 06e2005ed83567452783003e3113ad6a92190c2d (patch) | |
tree | bb3a92154bb0bbaeda1e6d548f467229206dd49d /sc/source/ui/miscdlgs | |
parent | 8e01e881451333eadb8e23f619e2b4014de1442a (diff) |
convert LocaleDataWrapper to OUString
Change-Id: Icb5f5adf9139d1c0f0e86d8128ea6742ce20b138
Diffstat (limited to 'sc/source/ui/miscdlgs')
-rw-r--r-- | sc/source/ui/miscdlgs/solveroptions.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/source/ui/miscdlgs/solveroptions.cxx b/sc/source/ui/miscdlgs/solveroptions.cxx index 232cb1a52950..cd73cf841a02 100644 --- a/sc/source/ui/miscdlgs/solveroptions.cxx +++ b/sc/source/ui/miscdlgs/solveroptions.cxx @@ -105,7 +105,7 @@ void ScSolverOptionsString::Paint( const Point& rPos, SvLBox& rDev, sal_uInt16, if ( mbIsDouble ) sTxt += (String)rtl::math::doubleToUString( mfDoubleValue, rtl_math_StringFormat_Automatic, rtl_math_DecimalPlaces_Max, - ScGlobal::GetpLocaleData()->getNumDecimalSep().GetChar(0), true ); + ScGlobal::GetpLocaleData()->getNumDecimalSep()[0], true ); else sTxt += String::CreateFromInt32( mnIntValue ); rDev.SetFont( aFont ); @@ -470,7 +470,7 @@ void ScSolverValueDialog::SetValue( double fValue ) { maEdValue.SetText( rtl::math::doubleToUString( fValue, rtl_math_StringFormat_Automatic, rtl_math_DecimalPlaces_Max, - ScGlobal::GetpLocaleData()->getNumDecimalSep().GetChar(0), true ) ); + ScGlobal::GetpLocaleData()->getNumDecimalSep()[0], true ) ); } double ScSolverValueDialog::GetValue() const @@ -480,8 +480,8 @@ double ScSolverValueDialog::GetValue() const const LocaleDataWrapper* pLocaleData = ScGlobal::GetpLocaleData(); rtl_math_ConversionStatus eStatus = rtl_math_ConversionStatus_Ok; double fValue = rtl::math::stringToDouble( aInput, - pLocaleData->getNumDecimalSep().GetChar(0), - pLocaleData->getNumThousandSep().GetChar(0), + pLocaleData->getNumDecimalSep()[0], + pLocaleData->getNumThousandSep()[0], &eStatus, NULL ); return fValue; } |