diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-08-11 13:10:29 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-08-11 20:26:48 +0200 |
commit | 21bf73a005f38fc4970ee916dce89ac05c60e729 (patch) | |
tree | e4cbe8b09bcc4bdd8308025277306e3b50cbc44c | |
parent | 3a54c06ff6f7367fe35b7509cc266d60498e3440 (diff) |
Resolves: tdf#111571 crash on restarting writer with modeless biblio dialog
Change-Id: I2663f84c28721f61c1ed7c8d92a228cafa8f1177
Reviewed-on: https://gerrit.libreoffice.org/41038
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
-rw-r--r-- | sw/source/ui/index/swuiidxmrk.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/ui/index/swuiidxmrk.cxx b/sw/source/ui/index/swuiidxmrk.cxx index e8d4ef2b492c..29e9e1f928ef 100644 --- a/sw/source/ui/index/swuiidxmrk.cxx +++ b/sw/source/ui/index/swuiidxmrk.cxx @@ -1636,8 +1636,8 @@ SwAuthMarkFloatDlg::SwAuthMarkFloatDlg(SfxBindings* _pBindings, { Initialize(pInfo); SwWrtShell* pWrtShell = ::GetActiveWrtShell(); - OSL_ENSURE(pWrtShell, "No shell?"); - m_aContent.ReInitDlg(*pWrtShell); + if (pWrtShell) + m_aContent.ReInitDlg(*pWrtShell); } void SwAuthMarkFloatDlg::Activate() |