[Libreoffice-commits] core.git: include/dbaccess
Stephan Bergmann
sbergman at redhat.com
Thu Jan 14 06:01:47 PST 2016
include/dbaccess/dbsubcomponentcontroller.hxx | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit db3e4e560ff979b3b06b45bcb087a5f90597595b
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Jan 14 15:01:17 2016 +0100
-Werror=misleading-indentation (GCC 6)
Change-Id: I07f653626dd4519d86dba735be9fec3e4c7e91e6
diff --git a/include/dbaccess/dbsubcomponentcontroller.hxx b/include/dbaccess/dbsubcomponentcontroller.hxx
index 81f5ada..2d30a37 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>
More information about the Libreoffice-commits
mailing list