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

Noel Grandin (via logerrit) logerrit at kemper.freedesktop.org
Thu Sep 10 15:12:13 UTC 2020


 xmloff/source/text/XMLTextColumnsContext.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit e7d4a1c87feaad785438fa46f26f0f8f1992faa5
Author:     Noel Grandin <noel.grandin at collabora.co.uk>
AuthorDate: Thu Sep 10 15:32:45 2020 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Thu Sep 10 17:11:29 2020 +0200

    tdf#136645 FILEOPEN: ODT: Incorrect section size
    
    regression from
        commit 36914a8b3a07391d225bce593236d6fcf0cc61d2 (patch)
        use fastparser in XMLElementPropertyContext subclasses
    
    Change-Id: I31dc4ce73da88fbd2fbf0f5066c58ac8acfc2731
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102384
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/xmloff/source/text/XMLTextColumnsContext.cxx b/xmloff/source/text/XMLTextColumnsContext.cxx
index 5211cc4eb1da..e6b0a54fa917 100644
--- a/xmloff/source/text/XMLTextColumnsContext.cxx
+++ b/xmloff/source/text/XMLTextColumnsContext.cxx
@@ -125,11 +125,13 @@ XMLTextColumnContext_Impl::XMLTextColumnContext_Impl(
             }
             break;
         case XML_ELEMENT(FO, XML_START_INDENT):
+        case XML_ELEMENT(FO_COMPAT, XML_START_INDENT):
             if( GetImport().GetMM100UnitConverter().
                                 convertMeasureToCore( nVal, sValue ) )
                 aColumn.LeftMargin = nVal;
             break;
         case XML_ELEMENT(FO, XML_END_INDENT):
+        case XML_ELEMENT(FO_COMPAT, XML_END_INDENT):
             if( GetImport().GetMM100UnitConverter().
                                 convertMeasureToCore( nVal, sValue ) )
                 aColumn.RightMargin = nVal;


More information about the Libreoffice-commits mailing list