summaryrefslogtreecommitdiff
path: root/include/xmloff/xmlnumfe.hxx
diff options
context:
space:
mode:
authorXisco Fauli <anistenis@gmail.com>2016-06-01 01:03:01 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-06-06 07:18:26 +0000
commit52af06b471ed3e4627be3950330ad311b71c275b (patch)
treef0a298aa091fc45d03cfe98feeb0d804b6b201e8 /include/xmloff/xmlnumfe.hxx
parent37c0fd253e7a73d08d35b60fecd7aa09816d9073 (diff)
tdf#89329: use unique_ptr for pImpl in xmlnumfe
Change-Id: I1c07b20f187d4b7045d68e0b7f95725de039bf77 Reviewed-on: https://gerrit.libreoffice.org/25743 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/xmloff/xmlnumfe.hxx')
-rw-r--r--include/xmloff/xmlnumfe.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/xmloff/xmlnumfe.hxx b/include/xmloff/xmlnumfe.hxx
index 8e47ff6dfbba..be72e4b3ac98 100644
--- a/include/xmloff/xmlnumfe.hxx
+++ b/include/xmloff/xmlnumfe.hxx
@@ -26,6 +26,7 @@
#include <com/sun/star/util/XNumberFormatsSupplier.hpp>
#include <com/sun/star/uno/Sequence.h>
#include <rtl/ustrbuf.hxx>
+#include <memory>
#define XML_WRITTENNUMBERSTYLES "WrittenNumberStyles"
@@ -49,7 +50,7 @@ private:
OUString sPrefix;
SvNumberFormatter* pFormatter;
OUStringBuffer sTextContent;
- SvXMLNumUsedList_Impl* pUsedList;
+ std::unique_ptr<SvXMLNumUsedList_Impl> pUsedList;
CharClass* pCharClass;
LocaleDataWrapper* pLocaleData;