summaryrefslogtreecommitdiff
path: root/connectivity/source/cpool/ZDriverWrapper.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/cpool/ZDriverWrapper.hxx')
-rw-r--r--connectivity/source/cpool/ZDriverWrapper.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/connectivity/source/cpool/ZDriverWrapper.hxx b/connectivity/source/cpool/ZDriverWrapper.hxx
index baac4ceac590..da0d39e212d5 100644
--- a/connectivity/source/cpool/ZDriverWrapper.hxx
+++ b/connectivity/source/cpool/ZDriverWrapper.hxx
@@ -23,6 +23,7 @@
#include <com/sun/star/sdbc/XDriver.hpp>
#include <cppuhelper/implbase.hxx>
#include <osl/mutex.hxx>
+#include <rtl/ref.hxx>
#include <com/sun/star/uno/XAggregation.hpp>
@@ -41,7 +42,8 @@ namespace connectivity
m_xDriverAggregate;
css::uno::Reference< css::sdbc::XDriver >
m_xDriver;
- OConnectionPool* m_pConnectionPool;
+ rtl::Reference<OConnectionPool>
+ m_pConnectionPool;
public:
/** creates a new wrapper for a driver