diff options
author | Justin Luth <jluth@mail.com> | 2022-07-27 20:46:43 -0400 |
---|---|---|
committer | Justin Luth <jluth@mail.com> | 2022-07-29 01:45:55 +0200 |
commit | fd428245bf180bb4ecc0486110aeeca091aa8403 (patch) | |
tree | 6a54af445b3991e870a77229efea587f4c866a12 | |
parent | be39a3d8c1bf9b134839a90e52ccabb2101421f4 (diff) |
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 <jluth@mail.com>
-rw-r--r-- | filter/source/msfilter/svdfppt.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
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 { |