From f5e9c29136079b596e68f888e74e524605c12713 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 16 Jan 2017 10:52:28 +0200 Subject: use rtl::Reference in MasterPropertySet no need to store a raw and a smart pointer Change-Id: Ic6b0b716812ec1dca3111f2162379c11389e963a --- include/comphelper/MasterPropertySet.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/comphelper') 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 #include #include +#include #include 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; -- cgit