filter/source/msfilter/svdfppt.cxx | 2 +- sd/qa/unit/import-tests2.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit 1cefb8ef8157e0d831c5080600780fc0c389786a Author: Samuel Mehrbrodt <[email protected]> AuthorDate: Thu Feb 26 09:13:05 2026 +0100 Commit: Xisco Fauli <[email protected]> CommitDate: Fri Feb 27 09:11:02 2026 +0100 tdf#166030 ppt: Default indent should be 0.95cm This is the case in PowerPoint Change-Id: I74ed4f476fba0a0858fff09d10050612c4d2df3b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200388 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <[email protected]> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/200559 Reviewed-by: Xisco Fauli <[email protected]> diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx index 9f5e7d1cf69a..52ef7b743a1f 100644 --- a/filter/source/msfilter/svdfppt.cxx +++ b/filter/source/msfilter/svdfppt.cxx @@ -3768,7 +3768,7 @@ void PPTNumberFormatCreator::ImplGetNumberFormat( SdrPowerPointImport const & rM // add some default indentation to match PowerPoint's behavior. if ( nIsBullet && nTextOfs == 0 && nBulletOfs == 0 ) { - nTextOfs = 288; // ~0.4 inch text indent (default PowerPoint bullet indent) + nTextOfs = 216; // 3/8 inch text indent (~0.95 cm, default PowerPoint bullet indent) nBulletOfs = 0; // bullet at left edge } sal_uInt32 nAbsLSpace = convertMasterUnitToMm100(nTextOfs); diff --git a/sd/qa/unit/import-tests2.cxx b/sd/qa/unit/import-tests2.cxx index 061ebf899c8d..dc4c15c9d0d9 100644 --- a/sd/qa/unit/import-tests2.cxx +++ b/sd/qa/unit/import-tests2.cxx @@ -1510,7 +1510,7 @@ CPPUNIT_TEST_FIXTURE(SdImportTest2, testTdf166030) const EditTextObject& aEdit = pTxtObj->GetOutlinerParaObject()->GetTextObject(); const SvxNumBulletItem* pNumFmt = aEdit.GetParaAttribs(1).GetItem(EE_PARA_NUMBULLET); const SvxNumberFormat& rFmt = pNumFmt->GetNumRule().GetLevel(1); - CPPUNIT_ASSERT_EQUAL(sal_Int32(1270), rFmt.GetAbsLSpace()); + CPPUNIT_ASSERT_EQUAL(sal_Int32(953), rFmt.GetAbsLSpace()); } CPPUNIT_TEST_FIXTURE(SdImportTest2, testTdf150770)
