summaryrefslogtreecommitdiff
path: root/chart2/source/controller/main/CommandDispatch.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'chart2/source/controller/main/CommandDispatch.hxx')
-rw-r--r--chart2/source/controller/main/CommandDispatch.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/chart2/source/controller/main/CommandDispatch.hxx b/chart2/source/controller/main/CommandDispatch.hxx
index 1c7295186038..37de7c59c119 100644
--- a/chart2/source/controller/main/CommandDispatch.hxx
+++ b/chart2/source/controller/main/CommandDispatch.hxx
@@ -25,6 +25,7 @@
#include <com/sun/star/util/XModifyListener.hpp>
#include <map>
+#include <memory>
namespace com::sun::star::uno { class XComponentContext; }
namespace com::sun::star::util { class XURLTransformer; }
@@ -120,7 +121,7 @@ private:
css::uno::Reference< css::uno::XComponentContext > m_xContext;
css::uno::Reference< css::util::XURLTransformer > m_xURLTransformer;
- typedef std::map< OUString, ::comphelper::OInterfaceContainerHelper2* >
+ typedef std::map< OUString, std::unique_ptr<::comphelper::OInterfaceContainerHelper2> >
tListenerMap;
tListenerMap m_aListeners;