[Libreoffice-commits] core.git: oox/source

Andras Timar (via logerrit) logerrit at kemper.freedesktop.org
Wed Feb 10 09:04:06 UTC 2021


 oox/source/drawingml/chart/datasourcecontext.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 4b92707c19ef47cdb9474224e83e5153c54b661d
Author:     Andras Timar <andras.timar at collabora.com>
AuthorDate: Tue Feb 9 12:00:45 2021 +0100
Commit:     Andras Timar <andras.timar at collabora.com>
CommitDate: Wed Feb 10 10:03:10 2021 +0100

    Fix chart label import, use the locale as MS Office does
    
    Change-Id: Ic2b9198d37c102721c3043825113567d703d72b3
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110674
    Tested-by: Jenkins
    Reviewed-by: Andras Timar <andras.timar at collabora.com>

diff --git a/oox/source/drawingml/chart/datasourcecontext.cxx b/oox/source/drawingml/chart/datasourcecontext.cxx
index 1112ba2e5c39..e9f2f3b189f6 100644
--- a/oox/source/drawingml/chart/datasourcecontext.cxx
+++ b/oox/source/drawingml/chart/datasourcecontext.cxx
@@ -156,7 +156,7 @@ SvNumberFormatter* DoubleSequenceContext::getNumberFormatter()
         uno::Reference<uno::XComponentContext> rContext =
                                 getFilter().getComponentContext();
         mpNumberFormatter.reset(
-                new SvNumberFormatter(rContext, LANGUAGE_DONTKNOW) );
+                new SvNumberFormatter(rContext, LANGUAGE_SYSTEM) );
     }
     return mpNumberFormatter.get();
 }


More information about the Libreoffice-commits mailing list