diff options
author | Oliver Specht <oliver.specht@cib.de> | 2015-10-06 14:51:16 +0200 |
---|---|---|
committer | Oliver Specht <oliver.specht@cib.de> | 2015-10-06 16:19:44 +0000 |
commit | 3eff65e78a3a90b07c7a01ff26736fd25996e476 (patch) | |
tree | edf2e886d5f4ab74b104ea2e8b1ff03978e10511 /writerfilter | |
parent | reintroduce initial coupling of EmptyStringAsZero to StringConversion (diff) | |
download | core-3eff65e78a3a90b07c7a01ff26736fd25996e476.tar.gz core-3eff65e78a3a90b07c7a01ff26736fd25996e476.zip |
tdf#90810: skip all elements outside of the requested footnote
the footnote stream is parsed completely at each footnote insertion
all elements outside of the requested footnote need to be skipped
Change-Id: I8909145411003ce6f924e712c2da00a4dc03a974
Reviewed-on: https://gerrit.libreoffice.org/19192
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Oliver Specht <oliver.specht@cib.de>
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/ooxml/OOXMLFastContextHandler.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx b/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx index 898dacdce600..43feb4137733 100644 --- a/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx +++ b/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx @@ -189,8 +189,9 @@ throw (uno::RuntimeException, xml::sax::SAXException, std::exception) m_bDiscardChildren = aState.m_bDiscardChildren; m_bTookChoice = aState.m_bTookChoice; } - else if (!m_bDiscardChildren) + else if (!m_bDiscardChildren && isForwardEvents()) lcl_endFastElement(Element); + } void OOXMLFastContextHandler::lcl_startFastElement |