diff options
Diffstat (limited to 'connectivity/source/cpool/ZPoolCollection.hxx')
-rw-r--r-- | connectivity/source/cpool/ZPoolCollection.hxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/connectivity/source/cpool/ZPoolCollection.hxx b/connectivity/source/cpool/ZPoolCollection.hxx index 865e6b037b4e..ff31c6c38435 100644 --- a/connectivity/source/cpool/ZPoolCollection.hxx +++ b/connectivity/source/cpool/ZPoolCollection.hxx @@ -39,6 +39,7 @@ #include <com/sun/star/reflection/XProxyFactory.hpp> #include <comphelper/stl_types.hxx> #include <osl/mutex.hxx> +#include <rtl/ref.hxx> namespace connectivity { @@ -59,7 +60,7 @@ namespace connectivity typedef ::comphelper::OInterfaceCompare< css::sdbc::XDriver > ODriverCompare; - typedef std::map<OUString, OConnectionPool*> OConnectionPools; + typedef std::map<OUString, rtl::Reference<OConnectionPool>> OConnectionPools; typedef std::map< css::uno::Reference< css::sdbc::XDriver >, |