[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.4' - oox/source

Andras Timar (via logerrit) logerrit at kemper.freedesktop.org
Wed Feb 10 07:45:41 UTC 2021


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

New commits:
commit 25252cf15a0c1b5cd308d502dc8c5efed46bcda2
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 08:45:03 2021 +0100

    Fix chart label import, use the locale as MS Office does
    
    Change-Id: Ic2b9198d37c102721c3043825113567d703d72b3
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110630
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
    Tested-by: Andras Timar <andras.timar at collabora.com>
    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 7fa7b12852a7..18353d570dc5 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