diff options
Diffstat (limited to 'svx/qa')
-rw-r--r-- | svx/qa/unit/unodraw.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svx/qa/unit/unodraw.cxx b/svx/qa/unit/unodraw.cxx index a7417356e13a..0d6f35e5c9cd 100644 --- a/svx/qa/unit/unodraw.cxx +++ b/svx/qa/unit/unodraw.cxx @@ -120,10 +120,10 @@ CPPUNIT_TEST_FIXTURE(UnodrawTest, testTableShadowDirect) // Without the accompanying fix in place, this test would have failed with throwing a // beans.UnknownPropertyException, as shadow-as-direct-formatting on tables were not possible. xShapeProps->setPropertyValue("Shadow", uno::Any(true)); - sal_Int32 nRed = 0xff0000; + Color nRed = COL_LIGHTRED; xShapeProps->setPropertyValue("ShadowColor", uno::Any(nRed)); CPPUNIT_ASSERT(xShapeProps->getPropertyValue("ShadowColor") >>= nRed); - CPPUNIT_ASSERT_EQUAL(static_cast<sal_Int32>(0xff0000), nRed); + CPPUNIT_ASSERT_EQUAL(COL_LIGHTRED, nRed); // Add text. uno::Reference<table::XCellRange> xTable(xShapeProps->getPropertyValue("Model"), |