diff options
author | Eike Rathke <erack@redhat.com> | 2017-10-27 14:48:26 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-10-27 18:29:43 +0200 |
commit | 51a7ae749de90485f3b15a3f935f0f11d5aeff5b (patch) | |
tree | 2c188f081e6c72dc250861a70d94a82acfcd31dd /sc/source | |
parent | 2c1ab132685bee9251901be38e113e129c2c3fce (diff) |
Let LocaleDataWrapper::getLocaleItem() return LocaleDataItem2&, tdf#81671
Change-Id: I16cfe81dd3ce0c8c2e905d55bea13df134c7a398
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/core/data/column3.cxx | 6 | ||||
-rw-r--r-- | sc/source/core/data/table3.cxx | 2 |
2 files changed, 4 insertions, 4 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) diff --git a/sc/source/core/data/table3.cxx b/sc/source/core/data/table3.cxx index 6347e24086ef..fba985e7d28d 100644 --- a/sc/source/core/data/table3.cxx +++ b/sc/source/core/data/table3.cxx @@ -99,7 +99,7 @@ using namespace ::com::sun::star::i18n; bool SplitString( const OUString &sWhole, OUString &sPrefix, OUString &sSuffix, double &fNum ) { - i18n::LocaleDataItem aLocaleItem = ScGlobal::pLocaleData->getLocaleItem(); + i18n::LocaleDataItem2 aLocaleItem = ScGlobal::pLocaleData->getLocaleItem(); // Get prefix element OUString sUser = "-"; |