summaryrefslogtreecommitdiff
path: root/embeddedobj/source/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-01-16 09:57:51 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-01-16 13:27:25 +0000
commit53f21cde330de4f0ad054a106e7a15654d79b7ee (patch)
treef7dd1e9855e893cb2ea86493899802e70d30a6cd /embeddedobj/source/inc
parent535f2b2b0a21407c4412d14149d271a199c3e6b8 (diff)
new loplugin: useuniqueptr: embeddedobj
Change-Id: I4c1302061a3607540af7de7a45ba060d3c0b403b Reviewed-on: https://gerrit.libreoffice.org/33153 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'embeddedobj/source/inc')
-rw-r--r--embeddedobj/source/inc/intercept.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/embeddedobj/source/inc/intercept.hxx b/embeddedobj/source/inc/intercept.hxx
index 35ad43fda01c..0eee7179dd02 100644
--- a/embeddedobj/source/inc/intercept.hxx
+++ b/embeddedobj/source/inc/intercept.hxx
@@ -26,6 +26,7 @@
#include <com/sun/star/frame/XDispatchProviderInterceptor.hpp>
#include <com/sun/star/frame/XInterceptorInfo.hpp>
#include <com/sun/star/frame/XDispatch.hpp>
+#include <memory>
class StatusChangeListenerContainer;
@@ -140,7 +141,7 @@ private:
static css::uno::Sequence< OUString > m_aInterceptedURL;
- StatusChangeListenerContainer* m_pStatCL;
+ std::unique_ptr<StatusChangeListenerContainer> m_pStatCL;
};
#endif