diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-23 16:45:23 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-01-25 13:51:24 +0100 |
commit | 0f28c8612f4269cec95688b53d182c7c0169236d (patch) | |
tree | d840fa85243c10376fc4fb60b4972c028953483a /connectivity/source/commontools | |
parent | 8fd13c356d78fb72ba5dd288a495551f23e15363 (diff) |
loplugin:unused-returns in basegfx..cppcanvas
Change-Id: I32dc8c92871c8349651d2f4204a332d387e6e1b2
Reviewed-on: https://gerrit.libreoffice.org/48428
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'connectivity/source/commontools')
-rw-r--r-- | connectivity/source/commontools/parameters.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/connectivity/source/commontools/parameters.cxx b/connectivity/source/commontools/parameters.cxx index cd77c028157e..10d445d0e8c5 100644 --- a/connectivity/source/commontools/parameters.cxx +++ b/connectivity/source/commontools/parameters.cxx @@ -770,11 +770,11 @@ namespace dbtools } - bool ParameterManager::getConnection( Reference< XConnection >& /* [out] */ _rxConnection ) + void ParameterManager::getConnection( Reference< XConnection >& /* [out] */ _rxConnection ) { OSL_PRECOND( isAlive(), "ParameterManager::getConnection: not initialized, or already disposed!" ); if ( !isAlive() ) - return false; + return; _rxConnection.clear(); try @@ -788,7 +788,6 @@ namespace dbtools { SAL_WARN( "connectivity.commontools", "ParameterManager::getConnection: could not retrieve the connection of the !" ); } - return _rxConnection.is(); } |