filter/source/msfilter/svdfppt.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit fd428245bf180bb4ecc0486110aeeca091aa8403 Author: Justin Luth <jl...@mail.com> AuthorDate: Wed Jul 27 20:46:43 2022 -0400 Commit: Justin Luth <jl...@mail.com> CommitDate: Fri Jul 29 01:45:55 2022 +0200 tdf#148810 ppt import: Depth set by EE_PARA_OUTLLEVEL It isn't enough to set Paragraph->SetDepth. It must match the property set. Change-Id: I96a22057c57ae869542b4ffbc069a7cd89bb06c4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137543 Tested-by: Jenkins Reviewed-by: Justin Luth <jl...@mail.com> diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx index 74f8da16fac6..5d86c5e2953c 100644 --- a/filter/source/msfilter/svdfppt.cxx +++ b/filter/source/msfilter/svdfppt.cxx @@ -2358,6 +2358,8 @@ SdrObject* SdrPowerPointImport::ApplyTextObj( PPTTextObj* pTextObj, SdrTextObj* pPara->GetAttrib( PPT_ParaAttr_BulletOn, nIsBullet2, nDestinationInstance ); if ( !nIsBullet2 ) aParagraphAttribs.Put( SfxBoolItem( EE_PARA_BULLETSTATE, false ) ); + else + aParagraphAttribs.Put( SfxInt16Item(EE_PARA_OUTLLEVEL, pPara->mxParaSet->mnDepth)); if ( !aSelection.nStartPos ) // in PPT empty paragraphs never gets a bullet {