[Libreoffice-commits] core.git: drawinglayer/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Mar 21 12:20:05 UTC 2019


 drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit c312dfb523f29acf40c2ccf74af30cce19be6697
Author:     Katarina Behrens <Katarina.Behrens at cib.de>
AuthorDate: Wed Mar 6 14:26:40 2019 +0100
Commit:     Katarina Behrens <Katarina.Behrens at cib.de>
CommitDate: Thu Mar 21 13:19:41 2019 +0100

    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 at cib.de>

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)


More information about the Libreoffice-commits mailing list