diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-17 08:54:02 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-17 14:46:24 +0200 |
commit | c8226655a8d838d15af7de3ba1fa5c47546b6ada (patch) | |
tree | 4100bc5b29edb72bd3f4ffeeccfbf6879ac8f801 /sc/inc | |
parent | fec9c3d6f272d45a73dd4dad390a69e444ffc9e2 (diff) |
rather return ref from getLocaleDataPtr
since we never return a nullptr, and rename to reflect that
Change-Id: I694b5198f663842d1362504d60e7191e450a08ca
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122224
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc')
-rw-r--r-- | sc/inc/global.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/inc/global.hxx b/sc/inc/global.hxx index 7cf4d84b402f..a8c885f48155 100644 --- a/sc/inc/global.hxx +++ b/sc/inc/global.hxx @@ -535,7 +535,7 @@ class ScGlobal public: static std::optional<SvtSysLocale> oSysLocale; - SC_DLLPUBLIC static const LocaleDataWrapper* getLocaleDataPtr(); + SC_DLLPUBLIC static const LocaleDataWrapper& getLocaleData(); SC_DLLPUBLIC static const CharClass& getCharClass(); static CalendarWrapper* GetCalendar(); |