diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-02-20 17:33:57 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-02-21 10:12:56 +0100 |
commit | 30e7c7f2289cd59c36c00ba4defc52bf189ef77d (patch) | |
tree | acc7772f6394e298fed884d85838ff88a56235f9 /vcl | |
parent | d0cc649b8f1d47e6435186b7c0ed571a147fbcb6 (diff) |
recovery dialogs legitimately don't have parents
Change-Id: I853a4471723c39bbdb8cf71409f518640b54cb83
Reviewed-on: https://gerrit.libreoffice.org/68110
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/gtk3/gtk3gtkinst.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/unx/gtk3/gtk3gtkinst.cxx b/vcl/unx/gtk3/gtk3gtkinst.cxx index a1b709b08b6a..1aa6a6ca36f0 100644 --- a/vcl/unx/gtk3/gtk3gtkinst.cxx +++ b/vcl/unx/gtk3/gtk3gtkinst.cxx @@ -2302,7 +2302,7 @@ struct DialogRunner , m_pLoop(nullptr) { GtkWindow* pParent = gtk_window_get_transient_for(GTK_WINDOW(m_pDialog)); - GtkSalFrame* pFrame = GtkSalFrame::getFromWindow(pParent); + GtkSalFrame* pFrame = pParent ? GtkSalFrame::getFromWindow(pParent) : nullptr; m_xFrameWindow = pFrame ? pFrame->GetWindow() : nullptr; } |