diff options
Diffstat (limited to 'writerfilter/source/ooxml/OOXMLDocumentImpl.cxx')
-rw-r--r-- | writerfilter/source/ooxml/OOXMLDocumentImpl.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx b/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx index fa77978e19de..29c64ade8028 100644 --- a/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx +++ b/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx @@ -56,6 +56,8 @@ void OOXMLDocumentImpl::resolveFastSubStream(Stream & rStreamHandler, { OOXMLStream::Pointer_t pStream (OOXMLDocumentFactory::createStream(mpStream, nType)); + OOXMLStream::Pointer_t savedStream = mpStream; + mpStream = pStream; uno::Reference< xml::sax::XFastParser > xParser (mpStream->getFastParser()); @@ -89,6 +91,8 @@ void OOXMLDocumentImpl::resolveFastSubStream(Stream & rStreamHandler, xInputStream->closeInput(); } } + + mpStream = savedStream; } void OOXMLDocumentImpl::resolveFastSubStreamWithId(Stream & rStream, |