diff options
author | Noel Grandin <noel@peralex.com> | 2016-07-18 09:22:27 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-07-27 06:48:25 +0000 |
commit | 508c95f1b655d9cfa6be37a5a9de9aff6fd383bf (patch) | |
tree | d1c8626818cbf26a699875ae2d82f751a1657e92 /connectivity/source/cpool | |
parent | 9f4af777a832d8a0b9a21d793d421fa6228131e0 (diff) |
improve passstuffbyref return analysis
Change-Id: I4258bcc97273d8bb7a8c4879fac02a427f76e18c
Reviewed-on: https://gerrit.libreoffice.org/27317
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'connectivity/source/cpool')
-rw-r--r-- | connectivity/source/cpool/ZPoolCollection.cxx | 2 | ||||
-rw-r--r-- | connectivity/source/cpool/ZPoolCollection.hxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/connectivity/source/cpool/ZPoolCollection.cxx b/connectivity/source/cpool/ZPoolCollection.cxx index 9dd861d33854..ad462ea596b6 100644 --- a/connectivity/source/cpool/ZPoolCollection.cxx +++ b/connectivity/source/cpool/ZPoolCollection.cxx @@ -249,7 +249,7 @@ bool OPoolCollection::isPoolingEnabled() return bEnabled; } -Reference<XInterface> OPoolCollection::getConfigPoolRoot() +Reference<XInterface> const & OPoolCollection::getConfigPoolRoot() { if(!m_xConfigNode.is()) m_xConfigNode = createWithServiceFactory(getConnectionPoolNodeName()); diff --git a/connectivity/source/cpool/ZPoolCollection.hxx b/connectivity/source/cpool/ZPoolCollection.hxx index ff31c6c38435..25c3f5a934d1 100644 --- a/connectivity/source/cpool/ZPoolCollection.hxx +++ b/connectivity/source/cpool/ZPoolCollection.hxx @@ -86,7 +86,7 @@ namespace connectivity // some configuration helper methods css::uno::Reference< css::uno::XInterface > createWithServiceFactory(const OUString& _rPath) const; - css::uno::Reference< css::uno::XInterface > getConfigPoolRoot(); + css::uno::Reference< css::uno::XInterface > const & getConfigPoolRoot(); static css::uno::Reference< css::uno::XInterface > createWithProvider( const css::uno::Reference< css::lang::XMultiServiceFactory >& _rxConfProvider, const OUString& _rPath); static css::uno::Reference< css::uno::XInterface > openNode( const OUString& _rPath, |