summaryrefslogtreecommitdiff
path: root/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'writerfilter/source/ooxml/OOXMLDocumentImpl.cxx')
-rw-r--r--writerfilter/source/ooxml/OOXMLDocumentImpl.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx b/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx
index c19f566ad286..0d00b0eff303 100644
--- a/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx
+++ b/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx
@@ -182,10 +182,11 @@ void OOXMLDocumentImpl::importSubStreamRelations(const OOXMLStream::Pointer_t& p
{
cStream = OOXMLDocumentFactory::createStream(pStream, nType);
}
- catch (uno::Exception const& e)
+ catch (uno::Exception const&)
{
+ css::uno::Any ex( cppu::getCaughtException() );
SAL_WARN("writerfilter.ooxml", "importSubStreamRelations: exception while "
- "importing stream " << nType << " : " << e);
+ "importing stream " << nType << " : " << exceptionToString(ex));
return;
}
@@ -202,10 +203,11 @@ void OOXMLDocumentImpl::importSubStreamRelations(const OOXMLStream::Pointer_t& p
uno::Reference<xml::dom::XDocumentBuilder> xDomBuilder(xml::dom::DocumentBuilder::create(xcpContext));
xRelation = xDomBuilder->parse(xcpInputStream);
}
- catch (uno::Exception const& e)
+ catch (uno::Exception const&)
{
+ css::uno::Any ex( cppu::getCaughtException() );
SAL_WARN("writerfilter.ooxml", "importSubStream: exception while "
- "parsing stream " << nType << " : " << e);
+ "parsing stream " << nType << " : " << exceptionToString(ex));
mxCustomXmlProsDom = xRelation;
}