diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-07 15:27:19 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-12-08 06:59:41 +0100 |
commit | cecaa5974775cfbb2884c7bdd6e9c497c52f14ad (patch) | |
tree | b896a5fea4037df08b34bd111cb9ae9634585c9c /include | |
parent | 7345bef0f354673e2fd3127b8fc707eae4c936ed (diff) |
use std::unique_ptr in SvNumberFormatter
Change-Id: I78f83c427c3df16e26fbe3d8a3e00a1279e5ed2d
Reviewed-on: https://gerrit.libreoffice.org/46028
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/svl/zforlist.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/svl/zforlist.hxx b/include/svl/zforlist.hxx index 5b84d0078408..f45ec7f0bc0f 100644 --- a/include/svl/zforlist.hxx +++ b/include/svl/zforlist.hxx @@ -34,6 +34,7 @@ #include <svl/nfkeytab.hxx> #include <map> +#include <memory> #include <set> class Date; @@ -804,7 +805,7 @@ public: private: css::uno::Reference< css::uno::XComponentContext > m_xContext; LanguageTag maLanguageTag; - SvNumberFormatTable aFTable; // Table of format keys to format entries + std::map<sal_uInt32, std::unique_ptr<SvNumberformat>> aFTable; // Table of format keys to format entries typedef std::map<sal_uInt32, sal_uInt32> DefaultFormatKeysMap; DefaultFormatKeysMap aDefaultFormatKeys; // Table of default standard to format keys SvNumberFormatTable* pFormatTable; // For the UI dialog |