summaryrefslogtreecommitdiff
path: root/sc/source/core/data/column3.cxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2017-10-27 14:48:26 +0200
committerEike Rathke <erack@redhat.com>2017-10-27 18:29:43 +0200
commit51a7ae749de90485f3b15a3f935f0f11d5aeff5b (patch)
tree2c188f081e6c72dc250861a70d94a82acfcd31dd /sc/source/core/data/column3.cxx
parent2c1ab132685bee9251901be38e113e129c2c3fce (diff)
Let LocaleDataWrapper::getLocaleItem() return LocaleDataItem2&, tdf#81671
Change-Id: I16cfe81dd3ce0c8c2e905d55bea13df134c7a398
Diffstat (limited to 'sc/source/core/data/column3.cxx')
-rw-r--r--sc/source/core/data/column3.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/core/data/column3.cxx b/sc/source/core/data/column3.cxx
index 847e6f84d355..001d8d320485 100644
--- a/sc/source/core/data/column3.cxx
+++ b/sc/source/core/data/column3.cxx
@@ -49,7 +49,7 @@
#include <listenercontext.hxx>
#include <filterentries.hxx>
-#include <com/sun/star/i18n/LocaleDataItem.hpp>
+#include <com/sun/star/i18n/LocaleDataItem2.hpp>
#include <memory>
@@ -64,7 +64,7 @@
#include <cstdio>
-using ::com::sun::star::i18n::LocaleDataItem;
+using ::com::sun::star::i18n::LocaleDataItem2;
using namespace formula;
@@ -1803,7 +1803,7 @@ bool ScColumn::ParseString(
if (!pLocale)
break;
- const LocaleDataItem& aLocaleItem = pLocale->getLocaleItem();
+ const LocaleDataItem2& aLocaleItem = pLocale->getLocaleItem();
const OUString& rDecSep = aLocaleItem.decimalSeparator;
const OUString& rGroupSep = aLocaleItem.thousandSeparator;
if (rDecSep.getLength() != 1 || rGroupSep.getLength() != 1)