summaryrefslogtreecommitdiff
path: root/include/comphelper/containermultiplexer.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/comphelper/containermultiplexer.hxx')
-rw-r--r--include/comphelper/containermultiplexer.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/comphelper/containermultiplexer.hxx b/include/comphelper/containermultiplexer.hxx
index 946ff698373d..07b044303dbf 100644
--- a/include/comphelper/containermultiplexer.hxx
+++ b/include/comphelper/containermultiplexer.hxx
@@ -24,6 +24,7 @@
#include <cppuhelper/implbase.hxx>
#include <osl/mutex.hxx>
#include <comphelper/comphelperdllapi.h>
+#include <rtl/ref.hxx>
namespace comphelper
@@ -43,8 +44,8 @@ namespace comphelper
{
friend class OContainerListenerAdapter;
protected:
- OContainerListenerAdapter* m_pAdapter;
- ::osl::Mutex& m_rMutex;
+ rtl::Reference<OContainerListenerAdapter> m_xAdapter;
+ ::osl::Mutex& m_rMutex;
public:
OContainerListener(::osl::Mutex& _rMutex);