summaryrefslogtreecommitdiff
path: root/include/xmloff/xmlnumfe.hxx
diff options
context:
space:
mode:
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;