diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-16 10:52:28 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-17 08:51:48 +0200 |
commit | f5e9c29136079b596e68f888e74e524605c12713 (patch) | |
tree | d97cba29c9c35bf9b608ac77a08d7bf5aa7b14c2 /include/comphelper | |
parent | 998f635fb4caeaf3b9f010d6bb6da023569c5791 (diff) |
use rtl::Reference in MasterPropertySet
no need to store a raw and a smart pointer
Change-Id: Ic6b0b716812ec1dca3111f2162379c11389e963a
Diffstat (limited to 'include/comphelper')
-rw-r--r-- | include/comphelper/MasterPropertySet.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/comphelper/MasterPropertySet.hxx b/include/comphelper/MasterPropertySet.hxx index b01edf37b9dc..37182a93c601 100644 --- a/include/comphelper/MasterPropertySet.hxx +++ b/include/comphelper/MasterPropertySet.hxx @@ -25,6 +25,7 @@ #include <comphelper/PropertyInfoHash.hxx> #include <comphelper/comphelperdllapi.h> #include <comphelper/solarmutex.hxx> +#include <rtl/ref.hxx> #include <map> namespace comphelper @@ -60,11 +61,10 @@ namespace comphelper public css::beans::XMultiPropertySet { protected: - MasterPropertySetInfo *mpInfo; SolarMutex* mpMutex; sal_uInt8 mnLastId; - std::map < sal_uInt8, comphelper::SlaveData* > maSlaveMap; - css::uno::Reference < css::beans::XPropertySetInfo > mxInfo; + std::map< sal_uInt8, comphelper::SlaveData* > maSlaveMap; + rtl::Reference< MasterPropertySetInfo > mxInfo; virtual void _preSetValues () throw(css::beans::UnknownPropertyException, css::beans::PropertyVetoException, css::lang::IllegalArgumentException, css::lang::WrappedTargetException ) = 0; |