summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-09-17 09:43:00 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-09-17 14:46:39 +0200
commitc67b9a4ce5ac3a09437730d8440c84159b581622 (patch)
treeeae4cb82c007fe228d85acb2432c3ceb1c6ef256 /sc/inc
parentc8226655a8d838d15af7de3ba1fa5c47546b6ada (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.hxx2
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();