[Libreoffice-commits] core.git: sd/qa

Stephan Bergmann sbergman at redhat.com
Wed Jan 31 10:12:08 UTC 2018


 sd/qa/unit/export-tests-ooxml1.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit efdeb2a0d8e75778751bc58af8756842cbe5209d
Author: Stephan Bergmann <sbergman at 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 <ci at libreoffice.org>
    Reviewed-by: Stephan Bergmann <sbergman at 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();


More information about the Libreoffice-commits mailing list