[Libreoffice-commits] core.git: Branch 'libreoffice-5-3' - sw/source
Caolán McNamara
caolanm at redhat.com
Fri Aug 11 18:27:36 UTC 2017
sw/source/ui/index/swuiidxmrk.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 21bf73a005f38fc4970ee916dce89ac05c60e729
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Aug 11 13:10:29 2017 +0100
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 at redhat.com>
Tested-by: Jenkins <ci at libreoffice.org>
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()
More information about the Libreoffice-commits
mailing list