diff options
author | Noel Grandin <noel@peralex.com> | 2016-03-08 17:04:25 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-03-09 10:07:47 +0200 |
commit | 1b1080fe8a2368410982c5b11575de183fb1bfa9 (patch) | |
tree | b36be6e160d6c647a9769bae5058e291822f4b33 /include/dbaccess | |
parent | ed4375c6d834e68a3f7c7dfb39a6ae0755da4785 (diff) |
loplugin:constantparam in dbaccess
Change-Id: I44b5a586a1b0da47e032dff097ebf545f5fe76fc
Diffstat (limited to 'include/dbaccess')
-rw-r--r-- | include/dbaccess/dbsubcomponentcontroller.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dbaccess/dbsubcomponentcontroller.hxx b/include/dbaccess/dbsubcomponentcontroller.hxx index 6bc86beb5ad1..798a655e81e0 100644 --- a/include/dbaccess/dbsubcomponentcontroller.hxx +++ b/include/dbaccess/dbsubcomponentcontroller.hxx @@ -163,8 +163,8 @@ namespace dbaui void disconnect(); virtual void reconnect( bool _bUI ); - bool ensureConnected( bool _bUI ) { - if ( !isConnected() ) reconnect( _bUI ); + bool ensureConnected() { + if ( !isConnected() ) reconnect( false ); return isConnected(); } |