summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndras Timar <andras.timar@collabora.com>2021-02-09 12:00:45 +0100
committerAndras Timar <andras.timar@collabora.com>2021-02-10 08:44:46 +0100
commit754599f0ec3b6fecc72554dcdabbd73fe4e66254 (patch)
tree9ff785bc40c5da502854872d9d7e42d426a5bf76
parentImprove macro checks (diff)
downloadcore-754599f0ec3b6fecc72554dcdabbd73fe4e66254.tar.gz
core-754599f0ec3b6fecc72554dcdabbd73fe4e66254.zip
Fix chart label import, use the locale as MS Office does
Change-Id: Ic2b9198d37c102721c3043825113567d703d72b3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110675 Tested-by: Andras Timar <andras.timar@collabora.com> Reviewed-by: Andras Timar <andras.timar@collabora.com>
-rw-r--r--oox/source/drawingml/chart/datasourcecontext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/drawingml/chart/datasourcecontext.cxx b/oox/source/drawingml/chart/datasourcecontext.cxx
index e50723b378d0..4988a24b61ee 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();
}