diff options
Diffstat (limited to 'include/unotools/localedatawrapper.hxx')
-rw-r--r-- | include/unotools/localedatawrapper.hxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/unotools/localedatawrapper.hxx b/include/unotools/localedatawrapper.hxx index 22fd3e07035c..9125a7e2716b 100644 --- a/include/unotools/localedatawrapper.hxx +++ b/include/unotools/localedatawrapper.hxx @@ -118,11 +118,18 @@ class UNOTOOLS_DLLPUBLIC LocaleDataWrapper SAL_DLLPRIVATE void loadDigitGrouping(); -public: LocaleDataWrapper( const css::uno::Reference< css::uno::XComponentContext > & rxContext, LanguageTag aLanguageTag ); + +public: + + /** + * retrieve a cached LocaleDataWrapper + */ + static const LocaleDataWrapper* get(const LanguageTag& aLanguageTag); + /** @param rOverrideDateAcceptancePatterns Override locale's date acceptance patterns. An empty sequence resets the patterns to the locale's pattern sequence. |