diff options
Diffstat (limited to 'include/comphelper')
-rw-r--r-- | include/comphelper/propmultiplex.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/comphelper/propmultiplex.hxx b/include/comphelper/propmultiplex.hxx index 628a809c157e..94edcda9d196 100644 --- a/include/comphelper/propmultiplex.hxx +++ b/include/comphelper/propmultiplex.hxx @@ -23,6 +23,7 @@ #include <comphelper/propstate.hxx> #include <cppuhelper/implbase.hxx> #include <comphelper/comphelperdllapi.h> +#include <rtl/ref.hxx> //= property helper classes @@ -42,12 +43,12 @@ namespace comphelper { friend class OPropertyChangeMultiplexer; - OPropertyChangeMultiplexer* m_pAdapter; + rtl::Reference<OPropertyChangeMultiplexer> m_xAdapter; ::osl::Mutex& m_rMutex; public: OPropertyChangeListener(::osl::Mutex& _rMutex) - : m_pAdapter(nullptr), m_rMutex(_rMutex) { } + : m_rMutex(_rMutex) { } virtual ~OPropertyChangeListener(); /// @throws css::uno::RuntimeException |