diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-16 10:48:24 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-01-17 06:37:00 +0000 |
commit | b2a4c1e085a14f79cb1765fe2ade443afc273b9a (patch) | |
tree | 6dd62aedde39927371801526eaf420193505f46f /include/comphelper | |
parent | use rtl::Reference in AttacherAllListener_Impl (diff) | |
download | core-b2a4c1e085a14f79cb1765fe2ade443afc273b9a.tar.gz core-b2a4c1e085a14f79cb1765fe2ade443afc273b9a.zip |
use rtl::Reference in ChainablePropertySet
no need to store both a raw pointer and a smart pointer
Change-Id: If0bde337e6d9fa575a2fc7104ecffa97a8c37c31
Reviewed-on: https://gerrit.libreoffice.org/33159
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/ChainablePropertySet.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/comphelper/ChainablePropertySet.hxx b/include/comphelper/ChainablePropertySet.hxx index af074b0e147b..3a7a7c9e0925 100644 --- a/include/comphelper/ChainablePropertySet.hxx +++ b/include/comphelper/ChainablePropertySet.hxx @@ -26,6 +26,7 @@ #include <comphelper/PropertyInfoHash.hxx> #include <comphelper/comphelperdllapi.h> #include <comphelper/solarmutex.hxx> +#include <rtl/ref.hxx> namespace comphelper { @@ -59,9 +60,8 @@ namespace comphelper { friend class MasterPropertySet; protected: - ChainablePropertySetInfo *mpInfo; SolarMutex* mpMutex; - css::uno::Reference < css::beans::XPropertySetInfo > mxInfo; + rtl::Reference < ChainablePropertySetInfo > mxInfo; virtual void _preSetValues () throw (css::beans::UnknownPropertyException, |