diff options
author | Eike Rathke <erack@redhat.com> | 2017-10-27 15:35:37 +0200 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2017-10-27 18:29:44 +0200 |
commit | dcf0877cd04280e598943ecfe299cf7360971056 (patch) | |
tree | 052d8677ce212385eedf9680e2df5603d6e70c53 /include | |
parent | 5ab5243068ff0e023da35633922f140688c7fcbd (diff) |
Handle decimalSeparatorAlternative in SvNumberFormatter parsing, tdf#81671
Change-Id: Ic10aa36805ec4214f7ac54529fb391cf1e390a70
Diffstat (limited to 'include')
-rw-r--r-- | include/svl/zforlist.hxx | 7 |
1 files changed, 7 insertions, 0 deletions
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 |