diff options
author | Ocke Janssen <oj@openoffice.org> | 2001-04-27 09:08:14 +0000 |
---|---|---|
committer | Ocke Janssen <oj@openoffice.org> | 2001-04-27 09:08:14 +0000 |
commit | 8e289a55c727eebbbd4f2d9b8fdaf066c01c5ebf (patch) | |
tree | 68f23606888b26ee20405e096ffc9c6de7dc869f /connectivity/source/cpool/ZPooledConnection.cxx | |
parent | 52478ca938fdd8629076bd33ce24e9e1cecdd657 (diff) |
UnoTunnel impl for the connections
Diffstat (limited to 'connectivity/source/cpool/ZPooledConnection.cxx')
-rw-r--r-- | connectivity/source/cpool/ZPooledConnection.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/connectivity/source/cpool/ZPooledConnection.cxx b/connectivity/source/cpool/ZPooledConnection.cxx index 08746d7b2100..27257fd595b4 100644 --- a/connectivity/source/cpool/ZPooledConnection.cxx +++ b/connectivity/source/cpool/ZPooledConnection.cxx @@ -2,9 +2,9 @@ * * $RCSfile: ZPooledConnection.cxx,v $ * - * $Revision: 1.1 $ + * $Revision: 1.2 $ * - * last change: $Author: oj $ $Date: 2001-04-26 09:11:50 $ + * last change: $Author: oj $ $Date: 2001-04-27 10:08:06 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -102,7 +102,7 @@ void SAL_CALL OPooledConnection::disposing( const EventObject& Source ) throw (: //XPooledConnection Reference< XConnection > OPooledConnection::getConnection() throw(SQLException, ::com::sun::star::uno::RuntimeException) { - if(!m_xConnection.is()) + if(!m_xConnection.is() && m_xRealConnection.is()) { m_xConnection = new OConnectionWrapper(m_xRealConnection); // register as event listener for the new connection |