From dcf0877cd04280e598943ecfe299cf7360971056 Mon Sep 17 00:00:00 2001 From: Eike Rathke Date: Fri, 27 Oct 2017 15:35:37 +0200 Subject: Handle decimalSeparatorAlternative in SvNumberFormatter parsing, tdf#81671 Change-Id: Ic10aa36805ec4214f7ac54529fb391cf1e390a70 --- include/svl/zforlist.hxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include') diff --git a/include/svl/zforlist.hxx b/include/svl/zforlist.hxx index 0d82b6d6d4b4..969d0007380a 100644 --- a/include/svl/zforlist.hxx +++ b/include/svl/zforlist.hxx @@ -821,6 +821,7 @@ private: // cached locale data items needed almost any time OUString aDecimalSep; + OUString aDecimalSepAlt; OUString aThousandSep; OUString aDateSep; @@ -958,11 +959,17 @@ public: // return the corresponding decimal separator const OUString& GetNumDecimalSep() const; + // return the corresponding decimal separator alternative + const OUString& GetNumDecimalSepAlt() const; + // return the corresponding group (AKA thousand) separator const OUString& GetNumThousandSep() const; // return the corresponding date separator const OUString& GetDateSep() const; + + // checks for decimal separator and optional alternative + bool IsDecimalSep( const OUString& rStr ) const; }; #endif // INCLUDED_SVL_ZFORLIST_HXX -- cgit