diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-08-11 17:02:48 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2020-08-11 21:54:56 +0200 |
commit | e8d1824146027c708c6dd53cc8341c2677813cde (patch) | |
tree | e40f4dca1bf2bc20210f0933afdeeb38c07f4def /sc/inc/global.hxx | |
parent | 4cb85b20ae5a8ddda46b74382d60ec89b1b41320 (diff) |
use unique_ptr for CalendarWrapper in ScGlobal
Change-Id: Id1a00798f9780006de28d3370e5bad1235fa2466
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100537
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc/global.hxx')
-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 de0b3311c4fc..6d13efab4523 100644 --- a/sc/inc/global.hxx +++ b/sc/inc/global.hxx @@ -522,7 +522,7 @@ class ScGlobal static SvNumberFormatter* pEnglishFormatter; // for UNO / XML export static css::uno::Reference< css::i18n::XOrdinalSuffix> xOrdinalSuffix; - static CalendarWrapper* pCalendar; + static std::unique_ptr<CalendarWrapper> xCalendar; static std::atomic<CollatorWrapper*> pCaseCollator; static std::atomic<CollatorWrapper*> pCollator; static std::atomic<::utl::TransliterationWrapper*> pTransliteration; |