From 601aadd01633a3797a88ca126772ae7cc3bf8696 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 30 Jun 2017 23:57:06 +0300 Subject: loplugin:oncevar in the !HAVE_FEATURE_JAVA case Change-Id: I77807b409ec4db3215160d4c123c186738e9b162 --- dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'dbaccess/source') 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() ); -- cgit