From 922a94f376d90c72315f86f2604924c142fca5be Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Fri, 27 Oct 2017 14:52:43 +0200 Subject: Add LocaleDataWrapper::getNumDecimalSepAlt(), tdf#81671 Change-Id: Id3a16004603685ef859506c2c6d86f8ff097c1d0 --- include/unotools/localedatawrapper.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/unotools') 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 -- cgit