summaryrefslogtreecommitdiff
path: root/drawinglayer/source
diff options
context:
space:
mode:
authorKatarina Behrens <Katarina.Behrens@cib.de>2019-03-06 14:26:40 +0100
committerKatarina Behrens <Katarina.Behrens@cib.de>2019-03-21 13:19:41 +0100
commitc312dfb523f29acf40c2ccf74af30cce19be6697 (patch)
treef4c23a8f93a81cb4c00a77111098779d58663b07 /drawinglayer/source
parent5715c738fd9257360aa8bd6e3d39322dae193b26 (diff)
Correct hierarchy of L, LI structure elements
in particular, don't terminate L prematurely Change-Id: Iaf642f547b072b12ccbf861536825a2526b8798a Reviewed-on: https://gerrit.libreoffice.org/69257 Tested-by: Jenkins Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Diffstat (limited to 'drawinglayer/source')
-rw-r--r--drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
index 30cc3063c4a7..1c3e73fc85b3 100644
--- a/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
+++ b/drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx
@@ -1326,8 +1326,8 @@ namespace drawinglayer
mpPDFExtOutDevData->EndStructureElement(); // end ListItem
mbInListItem = false;
}
-
- mpPDFExtOutDevData->EndStructureElement();
+ else
+ mpPDFExtOutDevData->EndStructureElement(); // end Paragraph
}
void VclMetafileProcessor2D::processTextHierarchyBlockPrimitive2D(const primitive2d::TextHierarchyBlockPrimitive2D& rBlockPrimitive)