diff --git a/lotuswordpro/CppunitTest_lotuswordpro_import_test.mk b/lotuswordpro/CppunitTest_lotuswordpro_import_test.mk index 325b1db2b921..315fea09a04d 100644 --- a/lotuswordpro/CppunitTest_lotuswordpro_import_test.mk +++ b/lotuswordpro/CppunitTest_lotuswordpro_import_test.mk @@ -21,6 +21,7 @@ $(eval $(call gb_CppunitTest_use_libraries,lotuswordpro_import_test, \ cppuhelper \ sal \ test \ + tl \ unotest \ vcl \ )) diff --git a/lotuswordpro/qa/cppunit/import_test.cxx b/lotuswordpro/qa/cppunit/import_test.cxx index d40c56c54427..8093dc5c6247 100644 --- a/lotuswordpro/qa/cppunit/import_test.cxx +++ b/lotuswordpro/qa/cppunit/import_test.cxx @@ -149,9 +149,9 @@ CPPUNIT_TEST_FIXTURE(LotusWordProTest, paragraphProperties) uno::Reference const xParagraph7(xParaEnum->nextElement(), uno::UNO_QUERY_THROW); uno::Reference xPropertySet7(xParagraph7, uno::UNO_QUERY); - sal_Int32 nParaBackColor; + Color nParaBackColor; xPropertySet7->getPropertyValue("ParaBackColor") >>= nParaBackColor; - CPPUNIT_ASSERT_EQUAL(sal_Int32(16711680), nParaBackColor); + CPPUNIT_ASSERT_EQUAL(Color(0xff0000), nParaBackColor); table::BorderLine2 aTopBorder; xPropertySet7->getPropertyValue("TopBorder") >>= aTopBorder; @@ -223,9 +223,9 @@ CPPUNIT_TEST_FIXTURE(LotusWordProTest, paragraphProperties) uno::Reference const xParagraph13(xParaEnum->nextElement(), uno::UNO_QUERY_THROW); uno::Reference xPropertySet13(xParagraph13, uno::UNO_QUERY); - sal_Int32 nCharColor; + Color nCharColor; xPropertySet13->getPropertyValue("CharColor") >>= nCharColor; - CPPUNIT_ASSERT_EQUAL(sal_Int32(65280), nCharColor); + CPPUNIT_ASSERT_EQUAL(Color(0x00ff00), nCharColor); } CPPUNIT_PLUGIN_IMPLEMENT();