[Libreoffice-commits] core.git: writerfilter/source
Oliver Specht
oliver.specht at cib.de
Fri Nov 13 05:22:31 PST 2015
writerfilter/source/ooxml/OOXMLDocumentImpl.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit f47bd0561cdf4c2b4fbe2c7e396533cf85408cb7
Author: Oliver Specht <oliver.specht at cib.de>
Date: Fri Nov 13 12:36:04 2015 +0100
tdf#95188: enable import of shapes in footnotes in .docx
substreams require a Model and a DrawPage
Change-Id: I701cf6e2283f84f18b9a0c06a4ce0aa8be934bf3
Reviewed-on: https://gerrit.libreoffice.org/19951
Reviewed-by: Oliver Specht <oliver.specht at cib.de>
Tested-by: Oliver Specht <oliver.specht at cib.de>
diff --git a/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx b/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx
index 7dd90ef..ff8ce4e 100644
--- a/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx
+++ b/writerfilter/source/ooxml/OOXMLDocumentImpl.cxx
@@ -281,6 +281,8 @@ OOXMLDocumentImpl::getXNoteStream(OOXMLStream::StreamType_t nType, const Id & rT
OOXMLDocumentImpl * pDocument = new OOXMLDocumentImpl(pStream, uno::Reference<task::XStatusIndicator>(), mbSkipImages);
pDocument->setXNoteId(nId);
pDocument->setXNoteType(rType);
+ pDocument->setModel(getModel());
+ pDocument->setDrawPage(getDrawPage());
return writerfilter::Reference<Stream>::Pointer_t(pDocument);
}
More information about the Libreoffice-commits
mailing list