diff --git a/xmloff/source/text/txtparai.cxx b/xmloff/source/text/txtparai.cxx index 9455c1068324..d5142d917243 100644 --- a/xmloff/source/text/txtparai.cxx +++ b/xmloff/source/text/txtparai.cxx @@ -2066,8 +2066,15 @@ XMLParaContext::~XMLParaContext() Reference xMark( static_cast(pHint)->GetMark()); Reference xContent(xMark, UNO_QUERY); - xTxtImport->GetText()->insertTextContent( - xAttrCursor, xContent, true ); + try + { + xTxtImport->GetText()->insertTextContent( + xAttrCursor, xContent, true ); + } + catch (uno::RuntimeException const& e) + { + SAL_INFO("xmloff.text", "could not insert index mark, presumably in editengine text " << e.Message); + } } break; case XML_HINT_TEXT_FRAME: