writerfilter/source/ooxml/OOXMLDocumentImpl.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit b9b3c4abb5172503723e6189f994dddf71c62933 Author: Mike Kaganski <mike.kagan...@collabora.com> AuthorDate: Wed Apr 14 17:32:41 2021 +0200 Commit: Mike Kaganski <mike.kagan...@collabora.com> CommitDate: Wed Apr 14 18:45:26 2021 +0200 Use mpStream consistently I had to check above that pStream indeed points to same object as mpStream, which is dereferenced in all other cases. Change-Id: Ib31fad9c163ae828afbcf657b0922bae1b1ed16a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114002 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kagan...@collabora.com> diff --git a/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx b/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx index 9ab9bb937bce..8d959dc0119f 100644 --- a/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx +++ b/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx @@ -101,7 +101,7 @@ void OOXMLDocumentImpl::resolveFastSubStream(Stream & rStreamHandler, xParser->setFastDocumentHandler(pDocHandler); xParser->setTokenHandler(xTokenHandler); - uno::Reference<io::XInputStream> xInputStream = pStream->getDocumentStream(); + uno::Reference<io::XInputStream> xInputStream = mpStream->getDocumentStream(); if (xInputStream.is()) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits