diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-07 08:25:56 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-01-07 11:40:09 +0100 |
commit | c4331c0b6a12b541a5adee6374f9acf70c3dd6fd (patch) | |
tree | 6f67c4720e7db2667625c54a9446510631c14112 /lotuswordpro/inc | |
parent | 05f12ce00f03be685df9a392001c2ae5f3258edf (diff) |
use unique_ptr in LwpTools::GetSystemDateStyle
Change-Id: I6ea90be5736982422aaa45c7147beec1cfd5430b
Reviewed-on: https://gerrit.libreoffice.org/65918
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'lotuswordpro/inc')
-rw-r--r-- | lotuswordpro/inc/lwptools.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lotuswordpro/inc/lwptools.hxx b/lotuswordpro/inc/lwptools.hxx index a0ec4bae29cc..3013c20435da 100644 --- a/lotuswordpro/inc/lwptools.hxx +++ b/lotuswordpro/inc/lwptools.hxx @@ -101,8 +101,8 @@ public: static OUString convertToFileUrl(const OString& fileName); static OUString DateTimeToOUString(const LtTm& dt); - static XFDateStyle* GetSystemDateStyle(bool bLongFormat); - static XFTimeStyle* GetSystemTimeStyle(); + static std::unique_ptr<XFDateStyle> GetSystemDateStyle(bool bLongFormat); + static std::unique_ptr<XFTimeStyle> GetSystemTimeStyle(); }; inline double LwpTools::ConvertFromUnits(sal_Int32 nUnits) |