summaryrefslogtreecommitdiff
path: root/connectivity/source/cpool/ZPooledConnection.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'connectivity/source/cpool/ZPooledConnection.cxx')
-rw-r--r--connectivity/source/cpool/ZPooledConnection.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/connectivity/source/cpool/ZPooledConnection.cxx b/connectivity/source/cpool/ZPooledConnection.cxx
index 42e8d6c02db71..6cabc1ce2e29c 100644
--- a/connectivity/source/cpool/ZPooledConnection.cxx
+++ b/connectivity/source/cpool/ZPooledConnection.cxx
@@ -65,7 +65,7 @@ Reference< XConnection > OPooledConnection::getConnection()
if (m_xComponent.is())
m_xComponent->addEventListener(this);
}
- return Reference< XConnection >(m_xComponent,UNO_QUERY);
+ return m_xComponent;
}