summaryrefslogtreecommitdiffstats
path: root/connectivity/source/commontools
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-01-23 16:45:23 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-01-25 13:51:24 +0100
commit0f28c8612f4269cec95688b53d182c7c0169236d (patch)
treed840fa85243c10376fc4fb60b4972c028953483a /connectivity/source/commontools
parentooxmlimport: support inherited listid (diff)
downloadcore-0f28c8612f4269cec95688b53d182c7c0169236d.tar.gz
core-0f28c8612f4269cec95688b53d182c7c0169236d.zip
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.cxx5
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();
}