summaryrefslogtreecommitdiff
path: root/sw/source/core
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core')
-rw-r--r--sw/source/core/doc/docsort.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/sw/source/core/doc/docsort.cxx b/sw/source/core/doc/docsort.cxx
index c0111810e7c2..26cdcc41a19f 100644
--- a/sw/source/core/doc/docsort.cxx
+++ b/sw/source/core/doc/docsort.cxx
@@ -112,10 +112,7 @@ double SwSortElement::StrToDouble( const OUString& rStr )
rtl_math_ConversionStatus eStatus;
sal_Int32 nEnd;
- double nRet = ::rtl::math::stringToDouble( rStr,
- pLclData->getNumDecimalSep()[0],
- pLclData->getNumThousandSep()[0],
- &eStatus, &nEnd );
+ double nRet = pLclData->stringToDouble( rStr, true, &eStatus, &nEnd );
if( rtl_math_ConversionStatus_Ok != eStatus || nEnd == 0 )
nRet = 0.0;