summaryrefslogtreecommitdiffstats
path: root/include/unotools/localedatawrapper.hxx
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2017-10-27 14:52:43 +0200
committerEike Rathke <erack@redhat.com>2017-10-27 18:29:44 +0200
commit922a94f376d90c72315f86f2604924c142fca5be (patch)
tree649e71f73040fb952087ac9d066409e55d9c0ce2 /include/unotools/localedatawrapper.hxx
parentLet LocaleDataWrapper::getLocaleItem() return LocaleDataItem2&, tdf#81671 (diff)
downloadcore-922a94f376d90c72315f86f2604924c142fca5be.tar.gz
core-922a94f376d90c72315f86f2604924c142fca5be.zip
Add LocaleDataWrapper::getNumDecimalSepAlt(), tdf#81671
Change-Id: Id3a16004603685ef859506c2c6d86f8ff097c1d0
Diffstat (limited to 'include/unotools/localedatawrapper.hxx')
-rw-r--r--include/unotools/localedatawrapper.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/unotools/localedatawrapper.hxx b/include/unotools/localedatawrapper.hxx
index 398c990fe53b..a5f1988f1db4 100644
--- a/include/unotools/localedatawrapper.hxx
+++ b/include/unotools/localedatawrapper.hxx
@@ -65,7 +65,7 @@ class UNOTOOLS_DLLPUBLIC LocaleDataWrapper
css::uno::Sequence< OUString > aDateAcceptancePatterns;
css::uno::Sequence< sal_Int32 > aGrouping;
// cached items
- OUString aLocaleItem[css::i18n::LocaleItem::COUNT];
+ OUString aLocaleItem[css::i18n::LocaleItem::COUNT2];
OUString aReservedWord[css::i18n::reservedWords::COUNT];
OUString aCurrSymbol;
OUString aCurrBankSymbol;
@@ -209,6 +209,8 @@ public:
{ return getOneLocaleItem( css::i18n::LocaleItem::THOUSAND_SEPARATOR ); }
const OUString& getNumDecimalSep() const
{ return getOneLocaleItem( css::i18n::LocaleItem::DECIMAL_SEPARATOR ); }
+ const OUString& getNumDecimalSepAlt() const
+ { return getOneLocaleItem( css::i18n::LocaleItem::DECIMAL_SEPARATOR_ALTERNATIVE ); }
const OUString& getTimeSep() const
{ return getOneLocaleItem( css::i18n::LocaleItem::TIME_SEPARATOR ); }
const OUString& getTime100SecSep() const