diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-09-21 21:23:44 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-09-22 18:05:49 +0200 |
commit | a8fde93e351c47df8d275a67056a65eb51c43663 (patch) | |
tree | c1c8eceb74477d813878a05a929c2e9722956cac /dbaccess/source/ui/dlg/tablespage.cxx | |
parent | b27327cf7c77a79e045321f8464a674c8ce658d0 (diff) |
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@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'dbaccess/source/ui/dlg/tablespage.cxx')
-rw-r--r-- | dbaccess/source/ui/dlg/tablespage.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
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(); |