summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-01-14 15:01:17 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-01-14 15:01:17 +0100
commitdb3e4e560ff979b3b06b45bcb087a5f90597595b (patch)
tree79c3642eaaf3cd5e41d9fc19a64727a37d32b5d3
parentd8551a79d2dcdad3bad5c437427b25b5131534ae (diff)
-Werror=misleading-indentation (GCC 6)
Change-Id: I07f653626dd4519d86dba735be9fec3e4c7e91e6
-rw-r--r--include/dbaccess/dbsubcomponentcontroller.hxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/dbaccess/dbsubcomponentcontroller.hxx b/include/dbaccess/dbsubcomponentcontroller.hxx
index 81f5ada30caf..2d30a3788305 100644
--- a/include/dbaccess/dbsubcomponentcontroller.hxx
+++ b/include/dbaccess/dbsubcomponentcontroller.hxx
@@ -168,7 +168,10 @@ namespace dbaui
void disconnect();
virtual void reconnect( bool _bUI );
- bool ensureConnected( bool _bUI ) { if ( !isConnected() ) reconnect( _bUI ); return isConnected(); }
+ bool ensureConnected( bool _bUI ) {
+ if ( !isConnected() ) reconnect( _bUI );
+ return isConnected();
+ }
/** called when our connection is being disposed
<p>The default implementation does a reconnect</p>