diff options
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 = "-"; |