diff options
author | Eike Rathke <erack@redhat.com> | 2017-10-27 18:13:39 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-10-27 18:29:45 +0200 |
commit | 29dd087619ee089268fa16771f46f82a1feaa468 (patch) | |
tree | a87b19ceb0f11b60206a330087dc602be150355b /svx | |
parent | fb5fc8256e79a3185c92c782733a78a18eafabeb (diff) |
Use LocaleDataWrapper::stringToDouble() in ShadowPropertyPanel, tdf#81671
Change-Id: I3e8f0a4a75c55543a1b6f6e9470cfd7aeb80e603
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/sidebar/shadow/ShadowPropertyPanel.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/source/sidebar/shadow/ShadowPropertyPanel.cxx b/svx/source/sidebar/shadow/ShadowPropertyPanel.cxx index ccad5be1d498..6a94f810056c 100644 --- a/svx/source/sidebar/shadow/ShadowPropertyPanel.cxx +++ b/svx/source/sidebar/shadow/ShadowPropertyPanel.cxx @@ -53,10 +53,9 @@ sal_uInt32 ParseText(OUString const & sTmp) return 0; const LocaleDataWrapper& rLocaleWrapper( Application::GetSettings().GetLocaleDataWrapper() ); - const sal_Unicode cSep = rLocaleWrapper.getNumDecimalSep()[0]; rtl_math_ConversionStatus eStatus; - double fTmp = rtl::math::stringToDouble( sTmp, cSep, 0, &eStatus); + double fTmp = rLocaleWrapper.stringToDouble( sTmp, false, &eStatus, nullptr); if (eStatus != rtl_math_ConversionStatus_Ok) return 0; |