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>
This commit is contained in:
Oliver Specht
2015-10-06 14:51:16 +02:00
parent d4bb1ea986
commit 3eff65e78a

View File

@@ -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