diff options
Diffstat (limited to 'sw/source/ui/index/swuiidxmrk.cxx')
-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() |