dbaccess/source/ui/dlg/tablespage.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit a8fde93e351c47df8d275a67056a65eb51c43663
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Sat Sep 21 21:23:44 2019 +0100
Commit:     Caolán McNamara <caol...@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 <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@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();
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to