sd/qa/unit/export-tests-ooxml1.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit efdeb2a0d8e75778751bc58af8756842cbe5209d Author: Stephan Bergmann <sberg...@redhat.com> Date: Wed Jan 31 08:35:29 2018 +0100 SvxNumberFormat::GetAbsLSpace returns short Change-Id: I26461962c52c7b77308dbf3a7734b6ca9fba6e82 Reviewed-on: https://gerrit.libreoffice.org/48951 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Stephan Bergmann <sberg...@redhat.com> diff --git a/sd/qa/unit/export-tests-ooxml1.cxx b/sd/qa/unit/export-tests-ooxml1.cxx index c75824a4fab2..364595ca0a71 100644 --- a/sd/qa/unit/export-tests-ooxml1.cxx +++ b/sd/qa/unit/export-tests-ooxml1.cxx @@ -662,7 +662,7 @@ void SdOOXMLExportTest1::testBulletMarginAndIndentation() const SvxNumBulletItem *pNumFmt = aEdit.GetParaAttribs(0).GetItem(EE_PARA_NUMBULLET); CPPUNIT_ASSERT(pNumFmt); - CPPUNIT_ASSERT_EQUAL_MESSAGE( "Bullet's left margin is wrong!", sal_uInt32(1000),sal_uInt32(pNumFmt->GetNumRule()->GetLevel(0).GetAbsLSpace()) ); // left margin is 0.79 cm + CPPUNIT_ASSERT_EQUAL_MESSAGE( "Bullet's left margin is wrong!", short(1000),pNumFmt->GetNumRule()->GetLevel(0).GetAbsLSpace() ); // left margin is 0.79 cm CPPUNIT_ASSERT_EQUAL_MESSAGE( "Bullet's indentation is wrong!", sal_Int32(-998),sal_Int32(pNumFmt->GetNumRule()->GetLevel(0). GetFirstLineOffset())); xDocShRef->DoClose(); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits