[Libreoffice-commits] core.git: dbaccess/source

Michael Stahl mstahl at redhat.com
Mon Sep 18 13:45:45 UTC 2017


 dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 60a70ea286279f58de8a0ba5de389330994c7eb2
Author: Michael Stahl <mstahl at redhat.com>
Date:   Mon Sep 18 15:43:11 2017 +0200

    dbaccess: [loplugin:casttovoid]
    
    Change-Id: Ie1f63b6495997d518457fcac195fcfa903bc6af0

diff --git a/dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx b/dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx
index 302139afd27a..27fbfe63a38e 100644
--- a/dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx
+++ b/dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx
@@ -675,8 +675,6 @@ using namespace ::com::sun::star;
         catch(css::uno::Exception&)
         {
         }
-#else
-        (void) bSuccess;
 #endif
         const char* pMessage = bSuccess ? STR_JDBCDRIVER_SUCCESS : STR_JDBCDRIVER_NO_SUCCESS;
         ScopedVclPtrInstance<OSQLMessageBox> aMsg(this, DBA_RES(pMessage), OUString());


More information about the Libreoffice-commits mailing list