diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-16 15:55:30 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-09-17 08:40:59 +0200 |
commit | 7fd3c5e8e5897617f1e89fda26f8cdbd4092071d (patch) | |
tree | 60704a90ddff313e6702925224a747cac0d6f1cc /sc | |
parent | 388685ea72fc22bd375e9f31a339632e175f4290 (diff) |
remove GetCharClassPtr from SvtSysLocale
we already have GetCharClass and we never return a nullptr
Change-Id: I3cb79bc60be614c0474ecfdaad17991f2ecb6368
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122208
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/data/global.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/global.cxx b/sc/source/core/data/global.cxx index f1e1ccf6e3f3..4f55f36a2c7a 100644 --- a/sc/source/core/data/global.cxx +++ b/sc/source/core/data/global.cxx @@ -1015,7 +1015,7 @@ const CharClass* ScGlobal::getCharClassPtr() xSysLocale, "ScGlobal::getCharClassPtr() called before ScGlobal::Init()"); - return xSysLocale->GetCharClassPtr(); + return &xSysLocale->GetCharClass(); } CalendarWrapper* ScGlobal::GetCalendar() |