summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Marty <pmarty@linagora.com>2021-09-20 14:56:33 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-09-23 09:56:12 +0200
commit5bcced4776bb73846ef4f98795e217e4fb923e40 (patch)
treedfa6117c88452ce122422370a7abf2e7001d4040
parent9f8ec7fb5751e3e120d0e09466b006085cea13fe (diff)
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@collabora.co.uk>
-rw-r--r--xmloff/source/draw/ximpstyl.cxx2
1 files changed, 1 insertions, 1 deletions
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: