diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-06-04 16:27:08 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-06-11 08:27:04 +0200 |
commit | 8955578f2cd3b0b20247d489dbceb71abbf6adf3 (patch) | |
tree | 72ada405aafaca14e87526b3458b323b5f05b9ee /chart2/source/inc | |
parent | loplugin:useuniqueptr in VDataSeriesGroup (diff) | |
download | core-8955578f2cd3b0b20247d489dbceb71abbf6adf3.tar.gz core-8955578f2cd3b0b20247d489dbceb71abbf6adf3.zip |
loplugin:useuniqueptr in WrappedPropertySet
Change-Id: I08f00c00b22c6a680ec59d2e86eb035c58b17609
Reviewed-on: https://gerrit.libreoffice.org/55526
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'chart2/source/inc')
-rw-r--r-- | chart2/source/inc/WrappedPropertySet.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/chart2/source/inc/WrappedPropertySet.hxx b/chart2/source/inc/WrappedPropertySet.hxx index dd70bed2cde2..a0398bafe180 100644 --- a/chart2/source/inc/WrappedPropertySet.hxx +++ b/chart2/source/inc/WrappedPropertySet.hxx @@ -30,6 +30,7 @@ #include <cppuhelper/implbase.hxx> #include <cppuhelper/propshlp.hxx> +#include <memory> #include <vector> namespace chart @@ -105,9 +106,9 @@ protected: //methods protected: //member css::uno::Reference< css::beans::XPropertySetInfo > m_xInfo;//outer PropertySetInfo - ::cppu::OPropertyArrayHelper* m_pPropertyArrayHelper;//holds all possible outer properties + std::unique_ptr<::cppu::OPropertyArrayHelper> m_pPropertyArrayHelper;//holds all possible outer properties - tWrappedPropertyMap* m_pWrappedPropertyMap;//holds all wrapped properties (containing the special mapping from inner to outer properties) + std::unique_ptr<tWrappedPropertyMap> m_pWrappedPropertyMap;//holds all wrapped properties (containing the special mapping from inner to outer properties) //Container for the XProperyChangedListener. The listeners are inserted by handle. //OMultiTypeInterfaceContainerHelperInt32 m_aBoundListenerContainer; |