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:
@@ -189,8 +189,9 @@ throw (uno::RuntimeException, xml::sax::SAXException, std::exception)
|
|||||||
m_bDiscardChildren = aState.m_bDiscardChildren;
|
m_bDiscardChildren = aState.m_bDiscardChildren;
|
||||||
m_bTookChoice = aState.m_bTookChoice;
|
m_bTookChoice = aState.m_bTookChoice;
|
||||||
}
|
}
|
||||||
else if (!m_bDiscardChildren)
|
else if (!m_bDiscardChildren && isForwardEvents())
|
||||||
lcl_endFastElement(Element);
|
lcl_endFastElement(Element);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void OOXMLFastContextHandler::lcl_startFastElement
|
void OOXMLFastContextHandler::lcl_startFastElement
|
||||||
|
Reference in New Issue
Block a user