summaryrefslogtreecommitdiff
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 10:03:10 +0100
commit4b92707c19ef47cdb9474224e83e5153c54b661d (patch)
tree869056f93a3881415fdb4fffae5b79a51ecbd1c4
parentdcb1022362acb2e794bae79d8827557702dcffd7 (diff)
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@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 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();
}