[Libreoffice-commits] core.git: drawinglayer/source
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Thu Mar 21 12:21:58 UTC 2019
drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx | 8 ++++++++
1 file changed, 8 insertions(+)
New commits:
commit 05f5c18959cb86c7893b4a2bb45cce52f1f58c53
Author: Katarina Behrens <Katarina.Behrens at cib.de>
AuthorDate: Tue Mar 12 15:30:35 2019 +0100
Commit: Katarina Behrens <Katarina.Behrens at cib.de>
CommitDate: Thu Mar 21 13:21:29 2019 +0100
Close all opened List elements at the end of the page
Change-Id: I7c1e11ec57537441417f6b1cebe137587883d8c1
Reviewed-on: https://gerrit.libreoffice.org/69259
Tested-by: Jenkins
Reviewed-by: Katarina Behrens <Katarina.Behrens at cib.de>
diff --git a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
index 40eec9fc4245..43676ae674f7 100644
--- a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
@@ -1338,6 +1338,14 @@ namespace drawinglayer
// add MetaFile comment, process recursively and add MetaFile comment
mpMetaFile->AddAction(new MetaCommentAction(aCommentStringA));
process(rBlockPrimitive);
+
+ if (mnCurrentOutlineLevel >= 0 )
+ {
+ // end any opened List structure elements
+ for(sal_Int16 i(0); i <= mnCurrentOutlineLevel; ++i)
+ mpPDFExtOutDevData->EndStructureElement();
+ }
+
mpMetaFile->AddAction(new MetaCommentAction(aCommentStringB));
}
More information about the Libreoffice-commits
mailing list