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

Tamás Zolnai tamas.zolnai at collabora.com
Sat Dec 30 16:31:39 UTC 2017


 sw/qa/extras/ooxmlexport/ooxmlexport9.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 6246d44680ec9b4cc132614e664c4cb88095b09e
Author: Tamás Zolnai <tamas.zolnai at collabora.com>
Date:   Sat Dec 30 13:49:18 2017 +0100

    Enable test for exporting text color of activeX checkbox control
    
    It's fixed in:
    05f72a2a39fccb58f59b99ebfd3e7d0d8ff354e9
    
    Change-Id: I5f82b1bd5dc0b2155398e4fc74da21f1a96e1d56
    Reviewed-on: https://gerrit.libreoffice.org/47193
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Tamás Zolnai <tamas.zolnai at collabora.com>

diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx
index 86785a00bff0..50e1a47d6beb 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport9.cxx
@@ -933,8 +933,7 @@ DECLARE_OOXMLEXPORT_TEST( testActiveXCheckbox, "activex_checkbox.docx" )
     CPPUNIT_ASSERT_EQUAL( sal_Int32( 0x316AC5 ), getProperty<sal_Int32>(xPropertySet, "BackgroundColor") );
 
     // Check Text color (active border system color)
-    if(!mbExported) // Bug: text color is not exported
-        CPPUNIT_ASSERT_EQUAL(sal_Int32(0xD4D0C8), getProperty<sal_Int32>(xPropertySet, "TextColor"));
+    CPPUNIT_ASSERT_EQUAL(sal_Int32(0xD4D0C8), getProperty<sal_Int32>(xPropertySet, "TextColor"));
 
     // Check state of the checkbox
     CPPUNIT_ASSERT_EQUAL(sal_Int16(1), getProperty<sal_Int16>(xPropertySet, "State"));


More information about the Libreoffice-commits mailing list