summaryrefslogtreecommitdiffstats
path: root/include/comphelper
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-01-16 08:50:05 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-01-16 11:29:53 +0000
commit54019e6601421baeda15ea331a07fd60ea1f7125 (patch)
tree750e5260ad505baf351e549d2367623854b6af36 /include/comphelper
parentnew loplugin: useuniqueptr: filter (diff)
downloadcore-54019e6601421baeda15ea331a07fd60ea1f7125.tar.gz
core-54019e6601421baeda15ea331a07fd60ea1f7125.zip
new loplugin: useuniqueptr: comphelper
Change-Id: Iafbaff60d10c9de7b57421e0c24809b08d813987 Reviewed-on: https://gerrit.libreoffice.org/33146 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/comphelper')
-rw-r--r--include/comphelper/propagg.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/comphelper/propagg.hxx b/include/comphelper/propagg.hxx
index 6481dd85d777..102f2c529c77 100644
--- a/include/comphelper/propagg.hxx
+++ b/include/comphelper/propagg.hxx
@@ -25,6 +25,7 @@
#include <comphelper/comphelperdllapi.h>
#include <map>
+#include <memory>
#include <vector>
@@ -204,7 +205,7 @@ protected:
css::uno::Reference< css::beans::XMultiPropertySet> m_xAggregateMultiSet;
css::uno::Reference< css::beans::XFastPropertySet> m_xAggregateFastSet;
- internal::PropertyForwarder* m_pForwarder;
+ std::unique_ptr<internal::PropertyForwarder> m_pForwarder;
bool m_bListening : 1;
public: