[Libreoffice-commits] core.git: writerfilter/source
Mike Kaganski (via logerrit)
logerrit at kemper.freedesktop.org
Wed Apr 14 16:46:07 UTC 2021
writerfilter/source/ooxml/OOXMLDocumentImpl.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit b9b3c4abb5172503723e6189f994dddf71c62933
Author: Mike Kaganski <mike.kaganski at collabora.com>
AuthorDate: Wed Apr 14 17:32:41 2021 +0200
Commit: Mike Kaganski <mike.kaganski at 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.kaganski at 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())
{
More information about the Libreoffice-commits
mailing list