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

Pierre Marty (via logerrit) logerrit at kemper.freedesktop.org
Thu Sep 23 07:56:46 UTC 2021


 xmloff/source/draw/ximpstyl.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 5bcced4776bb73846ef4f98795e217e4fb923e40
Author:     Pierre Marty <pmarty at linagora.com>
AuthorDate: Mon Sep 20 14:56:33 2021 +0200
Commit:     Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Thu Sep 23 09:56:12 2021 +0200

    tdf#141978: corrects the value assigned to AutoLayout while loading .odp file
    
            SdXMLPresentationPageLayoutContext::endFastElement(sal_Int32)
              now assigns the value AUTOLAYOUT_TITLE_6CONTENT
              instead of AUTOLAYOUT_4CLIPART at file loading
    
    Change-Id: Ic441d64fc62e1dd08873305a4cafd9823babe46f
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122360
    Tested-by: Jenkins
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/xmloff/source/draw/ximpstyl.cxx b/xmloff/source/draw/ximpstyl.cxx
index 77f5877a2442..4f3805e39ddd 100644
--- a/xmloff/source/draw/ximpstyl.cxx
+++ b/xmloff/source/draw/ximpstyl.cxx
@@ -618,7 +618,7 @@ void SdXMLPresentationPageLayoutContext::endFastElement(sal_Int32 )
             }
             case 7:
             {
-                mnTypeId = AUTOLAYOUT_4CLIPART; // FIXME: not AUTOLAYOUT_TITLE_6CONTENT?
+                mnTypeId = AUTOLAYOUT_TITLE_6CONTENT; // tdf#141978: Apply 6content layout
                 break;
             }
             default:


More information about the Libreoffice-commits mailing list