diff options
author | Tor Lillqvist <tml@collabora.com> | 2017-06-30 23:57:06 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2017-06-30 23:57:06 +0300 |
commit | 601aadd01633a3797a88ca126772ae7cc3bf8696 (patch) | |
tree | bacea469575fa74caab578cb7a6618986765df7f /dbaccess/source | |
parent | fb39062ed958c2a5df90c0aff7d873746122067c (diff) |
loplugin:oncevar in the !HAVE_FEATURE_JAVA case
Change-Id: I77807b409ec4db3215160d4c123c186738e9b162
Diffstat (limited to 'dbaccess/source')
-rw-r--r-- | dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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() ); |