diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-02-27 10:46:39 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2023-02-27 14:43:53 +0000 |
commit | c46582de06f8d39cc4fc955578c221a29d57cc1a (patch) | |
tree | 8d2563a498e8df63f4108d5f04cc07aec5a6b6c7 /sd | |
parent | da68460e03dc9857a24f2afeeb34f191f20f29ac (diff) |
return by ref from SdrGlobalData
return values are never nullptr
Change-Id: Id84fc6c8c63cdb34bdd8c07d8ff5b45f1bff2e48
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147873
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/view/DocumentRenderer.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/view/DocumentRenderer.cxx b/sd/source/ui/view/DocumentRenderer.cxx index 8ba5df1b948c..7ca62d9daa1b 100644 --- a/sd/source/ui/view/DocumentRenderer.cxx +++ b/sd/source/ui/view/DocumentRenderer.cxx @@ -1418,12 +1418,12 @@ private: // Collect some frequently used data. if (mpOptions->IsDate()) { - aInfo.msTimeDate += GetSdrGlobalData().GetLocaleData()->getDate( Date( Date::SYSTEM ) ); + aInfo.msTimeDate += GetSdrGlobalData().GetLocaleData().getDate( Date( Date::SYSTEM ) ); aInfo.msTimeDate += " "; } if (mpOptions->IsTime()) - aInfo.msTimeDate += GetSdrGlobalData().GetLocaleData()->getTime( ::tools::Time( ::tools::Time::SYSTEM ), false ); + aInfo.msTimeDate += GetSdrGlobalData().GetLocaleData().getTime( ::tools::Time( ::tools::Time::SYSTEM ), false ); // Draw and Notes should usually use specified paper size when printing if (!mpOptions->IsPrinterPreferred(mrBase.GetDocShell()->GetDocumentType())) |