filter/source/msfilter/svdfppt.cxx | 2 +- sd/qa/unit/import-tests4.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit ff1a7d5ee1b59e55f95a7b833f37f335a747376b Author: Samuel Mehrbrodt <[email protected]> AuthorDate: Thu Feb 26 09:13:05 2026 +0100 Commit: Samuel Mehrbrodt <[email protected]> CommitDate: Fri Feb 27 07:04:24 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]> diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx index 5d637b5f74c0..e5e557c50b6d 100644 --- a/filter/source/msfilter/svdfppt.cxx +++ b/filter/source/msfilter/svdfppt.cxx @@ -3769,7 +3769,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-tests4.cxx b/sd/qa/unit/import-tests4.cxx index a88762c2b133..dd2cf6ed124a 100644 --- a/sd/qa/unit/import-tests4.cxx +++ b/sd/qa/unit/import-tests4.cxx @@ -225,7 +225,7 @@ CPPUNIT_TEST_FIXTURE(SdImportTest4, 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(SdImportTest4, testTdf150770)
