diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-17 09:43:00 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-17 14:46:39 +0200 |
commit | c67b9a4ce5ac3a09437730d8440c84159b581622 (patch) | |
tree | eae4cb82c007fe228d85acb2432c3ceb1c6ef256 /sc/inc | |
parent | c8226655a8d838d15af7de3ba1fa5c47546b6ada (diff) |
rather return ref from GetCalendar
since we never return a nullptr
Change-Id: I4cb4af99752818e323472a372330d1bc2a3df4f7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122236
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 a8c885f48155..6a3eab0d837d 100644 --- a/sc/inc/global.hxx +++ b/sc/inc/global.hxx @@ -538,7 +538,7 @@ public: SC_DLLPUBLIC static const LocaleDataWrapper& getLocaleData(); SC_DLLPUBLIC static const CharClass& getCharClass(); - static CalendarWrapper* GetCalendar(); + static CalendarWrapper& GetCalendar(); SC_DLLPUBLIC static CollatorWrapper* GetCollator(); static CollatorWrapper* GetCaseCollator(); static css::lang::Locale* GetLocale(); |