https://bugs.documentfoundation.org/show_bug.cgi?id=152723

--- Comment #10 from Julien Nabet <[email protected]> ---
Just for the record, with this patch, it works:
diff --git a/i18npool/source/nativenumber/nativenumbersupplier.cxx
b/i18npool/source/nativenumber/nativenumbersupplier.cxx
index 756866ad846e..62a7e75278bf 100644
--- a/i18npool/source/nativenumber/nativenumbersupplier.cxx
+++ b/i18npool/source/nativenumber/nativenumbersupplier.cxx
@@ -586,15 +586,11 @@ OUString getNumberText(const Locale& rLocale, const
OUString& rNumberString,
     for (i = 0; i < len; i++)
     {
         sal_Unicode ch = src[i];
-        if (isNumber(ch))
+        if (isNumber(ch) || ch == aSeparators.DecimalSeparator)
         {
             ++count;
             sBuf.append(ch);
         }
-        else if (ch == aSeparators.DecimalSeparator)
-            // Convert any decimal separator to point - in case libnumbertext
has a different one
-            // for this locale (it seems that point is supported for all
locales in libnumbertext)
-            sBuf.append('.');
         else if (ch == aSeparators.ThousandSeparator && count > 0)
             continue;
         else if (isMinus(ch) && count == 0)

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to