[Libreoffice-commits] core.git: dbaccess/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Sun Sep 22 16:06:36 UTC 2019
dbaccess/source/ui/dlg/tablespage.cxx | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit a8fde93e351c47df8d275a67056a65eb51c43663
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat Sep 21 21:23:44 2019 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun Sep 22 18:05:49 2019 +0200
page is not in a vcl Dialog anymore
Change-Id: Ifc028fcdb927b9224453852290484bb970a6c6a4
Reviewed-on: https://gerrit.libreoffice.org/79322
Tested-by: Jenkins
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/tablespage.cxx b/dbaccess/source/ui/dlg/tablespage.cxx
index 99f12fe8f93a..339eb9103ea2 100644
--- a/dbaccess/source/ui/dlg/tablespage.cxx
+++ b/dbaccess/source/ui/dlg/tablespage.cxx
@@ -260,8 +260,7 @@ namespace dbaui
if (aErrorInfo.isValid())
{
// establishing the connection failed. Show an error window and exit.
- vcl::Window *pParent = GetParentDialog();
- OSQLMessageBox aMessageBox(pParent ? pParent->GetFrameWeld() : nullptr, aErrorInfo);
+ OSQLMessageBox aMessageBox(GetDialogFrameWeld(), aErrorInfo);
aMessageBox.run();
m_xTables->set_sensitive(false);
m_xTablesList->GetWidget().clear();
More information about the Libreoffice-commits
mailing list