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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Mon Jul 30 06:43:03 UTC 2018


 sw/qa/extras/ooxmlexport/ooxmlexport3.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b3d28822a650166bb7ff5759499cd5ce0124f746
Author:     Justin Luth <justin.luth at collabora.com>
AuthorDate: Mon Jul 30 09:39:53 2018 +0300
Commit:     Justin Luth <justin_luth at sil.org>
CommitDate: Mon Jul 30 08:42:42 2018 +0200

    related tdf#72560 ooxmlexport3: fix tinderbox long -> sal_Int32
    
    Change-Id: Ifb522c5488aeadc327116bef8a21adef16e3e711
    Reviewed-on: https://gerrit.libreoffice.org/58300
    Reviewed-by: Justin Luth <justin_luth at sil.org>
    Tested-by: Justin Luth <justin_luth at sil.org>

diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx
index b83bab3e136d..2a494a46e10d 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport3.cxx
@@ -344,7 +344,7 @@ DECLARE_OOXMLEXPORT_TEST(testCalendar3, "calendar3.docx")
     // TableStyle:firstRow (for header rows 1 and 2) color and size overrides document rPrDefault
     uno::Reference<text::XTextTable> xTable(getParagraphOrTable(1), uno::UNO_QUERY);
     uno::Reference<text::XTextRange> xCell(xTable->getCellByName("A2"), uno::UNO_QUERY);
-    CPPUNIT_ASSERT_EQUAL(0x5B9BD5, getProperty<sal_Int32>(getRun(xCell,1), "CharColor"));
+    CPPUNIT_ASSERT_EQUAL(sal_Int32(0x5B9BD5), getProperty<sal_Int32>(getRun(xCell,1), "CharColor"));
     CPPUNIT_ASSERT_EQUAL(16.f, getProperty<float>(getRun(xCell,1), "CharHeight"));
 }
 


More information about the Libreoffice-commits mailing list