summaryrefslogtreecommitdiff
path: root/sw/source/filter/xml/xmlimp.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/xml/xmlimp.hxx')
-rw-r--r--sw/source/filter/xml/xmlimp.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/sw/source/filter/xml/xmlimp.hxx b/sw/source/filter/xml/xmlimp.hxx
index ab6227d5a785..fd8caf41c041 100644
--- a/sw/source/filter/xml/xmlimp.hxx
+++ b/sw/source/filter/xml/xmlimp.hxx
@@ -20,6 +20,10 @@
#ifndef INCLUDED_SW_SOURCE_FILTER_XML_XMLIMP_HXX
#define INCLUDED_SW_SOURCE_FILTER_XML_XMLIMP_HXX
+#include <sal/config.h>
+
+#include <memory>
+
#include <com/sun/star/document/XDocumentProperties.hpp>
#include <sot/storage.hxx>
@@ -49,7 +53,7 @@ namespace SwImport {
class SwXMLImport: public SvXMLImport
{
- SwNodeIndex *m_pSttNdIdx;
+ std::unique_ptr<SwNodeIndex> m_pSttNdIdx;
SvXMLUnitConverter *m_pTwipUnitConv;
SvXMLImportItemMapper *m_pTableItemMapper;// paragraph item import