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/source/ui/miscdlgs/redcom.cxx | |
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/source/ui/miscdlgs/redcom.cxx')
-rw-r--r-- | sc/source/ui/miscdlgs/redcom.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/miscdlgs/redcom.cxx b/sc/source/ui/miscdlgs/redcom.cxx index 6af353bb8ef4..6eeb00fb0739 100644 --- a/sc/source/ui/miscdlgs/redcom.cxx +++ b/sc/source/ui/miscdlgs/redcom.cxx @@ -110,8 +110,8 @@ void ScRedComDialog::ReInit(ScChangeAction *pAction) OUString aAuthor = pChangeAction->GetUser(); DateTime aDT = pChangeAction->GetDateTime(); - OUString aDate = ScGlobal::getLocaleDataPtr()->getDate( aDT ) + " " + - ScGlobal::getLocaleDataPtr()->getTime( aDT, false ); + OUString aDate = ScGlobal::getLocaleData().getDate( aDT ) + " " + + ScGlobal::getLocaleData().getTime( aDT, false ); pDlg->ShowLastAuthor(aAuthor, aDate); pDlg->SetNote(aComment); |