[Libreoffice-commits] core.git: dbaccess/source
Tor Lillqvist
tml at collabora.com
Fri Jun 30 21:00:11 UTC 2017
dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 601aadd01633a3797a88ca126772ae7cc3bf8696
Author: Tor Lillqvist <tml at collabora.com>
Date: Fri Jun 30 23:57:06 2017 +0300
loplugin:oncevar in the !HAVE_FEATURE_JAVA case
Change-Id: I77807b409ec4db3215160d4c123c186738e9b162
diff --git a/dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx b/dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx
index 9741273014f5..fd126a6c1050 100644
--- a/dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx
+++ b/dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx
@@ -672,6 +672,8 @@ using namespace ::com::sun::star;
catch(css::uno::Exception&)
{
}
+#else
+ (void) bSuccess;
#endif
sal_uInt16 nMessage = bSuccess ? STR_JDBCDRIVER_SUCCESS : STR_JDBCDRIVER_NO_SUCCESS;
ScopedVclPtrInstance< OSQLMessageBox > aMsg( this, OUString( ModuleRes( nMessage ) ), OUString() );
More information about the Libreoffice-commits
mailing list