drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx | 8 ++++++++ 1 file changed, 8 insertions(+)
New commits: commit 05f5c18959cb86c7893b4a2bb45cce52f1f58c53 Author: Katarina Behrens <[email protected]> AuthorDate: Tue Mar 12 15:30:35 2019 +0100 Commit: Katarina Behrens <[email protected]> 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 <[email protected]> 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)); } _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
