summaryrefslogtreecommitdiff
path: root/xmloff/inc
diff options
context:
space:
mode:
Diffstat (limited to 'xmloff/inc')
-rw-r--r--xmloff/inc/XMLEventImportHelper.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/xmloff/inc/XMLEventImportHelper.hxx b/xmloff/inc/XMLEventImportHelper.hxx
index 0ad45da644ca..99d03999ec25 100644
--- a/xmloff/inc/XMLEventImportHelper.hxx
+++ b/xmloff/inc/XMLEventImportHelper.hxx
@@ -25,6 +25,7 @@
#include <map>
#include <vector>
+#include <memory>
namespace com { namespace sun { namespace star {
@@ -57,10 +58,10 @@ class XMLEventImportHelper
FactoryMap aFactoryMap;
/// map from XML to API names
- NameMap* pEventNameMap;
+ std::unique_ptr<NameMap> pEventNameMap;
/// stack of previous aEventNameMap
- std::vector< NameMap* > aEventNameMapVector;
+ std::vector< std::unique_ptr<NameMap> > aEventNameMapVector;
public:
XMLEventImportHelper();