diff options
author | Oliver Specht <oliver.specht@cib.de> | 2015-10-07 14:34:02 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-10-07 15:24:36 +0000 |
commit | 7e50b8073ef40d1bbe79c1c4d6c967d760283b5a (patch) | |
tree | 09f611dbb52c4031c828fb040e6c5e4ba225b92a /writerfilter | |
parent | sc tiled rendering: fix showing all search results (diff) | |
download | core-7e50b8073ef40d1bbe79c1c4d6c967d760283b5a.tar.gz core-7e50b8073ef40d1bbe79c1c4d6c967d760283b5a.zip |
tdf#90810: skip breaks outside of the requested footnote
the footnote stream is parsed completely at each footnote insertion
(line) breaks outside of the requested footnote need to be skipped
test include
Change-Id: I78de7774b7daf44c2b8980115870082fc56924bd
Reviewed-on: https://gerrit.libreoffice.org/19228
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'writerfilter')
-rw-r--r-- | writerfilter/source/ooxml/OOXMLFastContextHandler.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx b/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx index 898dacdce600..d43c88da46e4 100644 --- a/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx +++ b/writerfilter/source/ooxml/OOXMLFastContextHandler.cxx @@ -1031,8 +1031,11 @@ void OOXMLFastContextHandlerProperties::handlePicture() void OOXMLFastContextHandlerProperties::handleBreak() { - OOXMLBreakHandler aBreakHandler(*mpStream); - getPropertySet()->resolve(aBreakHandler); + if(isForwardEvents()) + { + OOXMLBreakHandler aBreakHandler(*mpStream); + getPropertySet()->resolve(aBreakHandler); + } } void OOXMLFastContextHandlerProperties::handleOLE() |