diff options
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/ooxml/Handler.cxx | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/writerfilter/source/ooxml/Handler.cxx b/writerfilter/source/ooxml/Handler.cxx index 89d7cdbfb40a..2010be429d81 100644 --- a/writerfilter/source/ooxml/Handler.cxx +++ b/writerfilter/source/ooxml/Handler.cxx @@ -125,7 +125,14 @@ void OOXMLOLEHandler::attribute(Id name, Value & val) switch (name) { case NS_ooxml::LN_CT_OLEObject_r_id: - mpFastContext->resolveData(val.getString()); + try { + mpFastContext->resolveData(val.getString()); + } + catch (const ::css::uno::Exception&) + { + // Can't resolve OLE stream + SAL_WARN("OOXMLOLEHandler::attribute", "Failed to open OLE stream!"); + } break; default: ; |