Kaydet (Commit) 05f5c189 authored tarafından Katarina Behrens's avatar Katarina Behrens

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: 's avatarKatarina Behrens <Katarina.Behrens@cib.de>
üst a0fd6c4d
...@@ -1338,6 +1338,14 @@ namespace drawinglayer ...@@ -1338,6 +1338,14 @@ namespace drawinglayer
// add MetaFile comment, process recursively and add MetaFile comment // add MetaFile comment, process recursively and add MetaFile comment
mpMetaFile->AddAction(new MetaCommentAction(aCommentStringA)); mpMetaFile->AddAction(new MetaCommentAction(aCommentStringA));
process(rBlockPrimitive); 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)); mpMetaFile->AddAction(new MetaCommentAction(aCommentStringB));
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment