summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2019-04-29 13:13:23 +0100
committerCaolán McNamara <caolanm@redhat.com>2019-05-01 15:55:55 +0200
commitf82356d9a1ce1457593a5f42728e2962561328cf (patch)
treeddac3224cc714d92cf80b5b285277c6a0a0e5e08 /sfx2
parentd822953cbc1d8814ac9f9eac2107177d37103542 (diff)
weld ScPivotLayoutDialog
Change-Id: I821ee682bf5b65774a609227811365b94ae2063e Reviewed-on: https://gerrit.libreoffice.org/71547 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/basedlgs.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sfx2/source/dialog/basedlgs.cxx b/sfx2/source/dialog/basedlgs.cxx
index 2b76b9cefc22..5dc2067dd23d 100644
--- a/sfx2/source/dialog/basedlgs.cxx
+++ b/sfx2/source/dialog/basedlgs.cxx
@@ -475,6 +475,8 @@ void SfxModelessDialogController::EndDialog()
{
m_xImpl->bClosing = true;
SfxDialogController::EndDialog();
+ if (!m_xImpl)
+ return;
m_xImpl->bClosing = false;
}