[Libreoffice-commits] core.git: Branch 'libreoffice-6-1-3' - dbaccess/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Fri Oct 19 08:37:38 UTC 2018
dbaccess/source/ui/dlg/DBSetupConnectionPages.cxx | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit c229a77ac5cf935f6f189a644811a253c1bc36de
Author: Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Wed Oct 10 23:13:05 2018 +0200
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Fri Oct 19 10:35:48 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/61645
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
Reviewed-by: Adolfo Jayme Barrientos <fitojb at ubuntu.com>
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