[Libreoffice-commits] core.git: Branch 'libreoffice-6-1' - dbaccess/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Oct 11 08:34:16 UTC 2018


 dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 4de54f8c6795c0b16f3fd3fbd1820249fd318a88
Author:     Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Wed Oct 10 23:13:05 2018 +0200
Commit:     Julien Nabet <serval2412 at yahoo.fr>
CommitDate: Thu Oct 11 10:33:53 2018 +0200

    tdf#120478: fix wrong icon when JDBC driver test fails
    
    Change-Id: I1d96e4a5e091caddf46131385ff5274521844fa9
    Reviewed-on: https://gerrit.libreoffice.org/61637
    Tested-by: Jenkins
    (cherry picked from commit 8b44c2c525a663dbee3d88785ddcd0d5781002da)
    Reviewed-on: https://gerrit.libreoffice.org/61643
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx b/dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx
index b2ca1e21182e..7ea3cc455f75 100644
--- a/dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx
+++ b/dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx
@@ -675,7 +675,8 @@ using namespace ::com::sun::star;
         }
 #endif
         const char* pMessage = bSuccess ? STR_JDBCDRIVER_SUCCESS : STR_JDBCDRIVER_NO_SUCCESS;
-        OSQLMessageBox aMsg(GetFrameWeld(), DBA_RES(pMessage), OUString());
+        const MessageType mt = bSuccess ? MessageType::Info : MessageType::Error;
+        OSQLMessageBox aMsg(GetFrameWeld(), DBA_RES(pMessage), OUString(), MessBoxStyle::Ok | MessBoxStyle::DefaultOk, mt);
         aMsg.run();
     }
 


More information about the Libreoffice-commits mailing list