summaryrefslogtreecommitdiff
path: root/sw/qa/extras/odfexport
diff options
context:
space:
mode:
authorZolnai Tamás <zolnaitamas2000@gmail.com>2013-09-09 13:07:03 +0200
committerZolnai Tamás <zolnaitamas2000@gmail.com>2013-09-09 13:07:52 +0200
commit3b6ad403dd332221ebde82ae5f699ba77b60f181 (patch)
tree4bb9a34d27821826c4c110e9cd654a42eb9a46a7 /sw/qa/extras/odfexport
parent81d2a8e8ae9df80948c44e6b6980ca46918719ee (diff)
Use hex color code in character border filter tests
Change-Id: I19bd1cbedd42101186fd4afbcd7af9afb630f857
Diffstat (limited to 'sw/qa/extras/odfexport')
-rw-r--r--sw/qa/extras/odfexport/odfexport.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sw/qa/extras/odfexport/odfexport.cxx b/sw/qa/extras/odfexport/odfexport.cxx
index 300594b1d0ac..35d51fe616c2 100644
--- a/sw/qa/extras/odfexport/odfexport.cxx
+++ b/sw/qa/extras/odfexport/odfexport.cxx
@@ -176,7 +176,7 @@ void Test::testCharacterBorder()
// Paragraph border of first paragraph
{
- const table::BorderLine2 aFirstParTopBorder(6711039,0,26,26,7,53);
+ const table::BorderLine2 aFirstParTopBorder(0x6666FF,0,26,26,7,53);
const sal_Int32 aFirstParTopPadding(150);
uno::Reference<beans::XPropertySet> xSet(getParagraph(1), uno::UNO_QUERY);
@@ -206,7 +206,7 @@ void Test::testCharacterBorder()
// Character border for first paragraph
{
- const table::BorderLine2 aFirstParCharTopBorder(16724787,0,37,0,2,37);
+ const table::BorderLine2 aFirstParCharTopBorder(0xFF3333,0,37,0,2,37);
const sal_Int32 aFirstParCharTopPadding(450);
uno::Reference<beans::XPropertySet> xSet(getParagraph(1), uno::UNO_QUERY);
@@ -228,7 +228,7 @@ void Test::testCharacterBorder()
// Shadow
const table::ShadowFormat aShadow = getProperty<table::ShadowFormat>(xSet,"CharShadowFormat");
- CPPUNIT_ASSERT_EQUAL(sal_Int32(16724787), aShadow.Color);
+ CPPUNIT_ASSERT_EQUAL(sal_Int32(0xFF3333), aShadow.Color);
CPPUNIT_ASSERT_EQUAL(false, (bool)aShadow.IsTransparent);
CPPUNIT_ASSERT_EQUAL(table::ShadowLocation(2), aShadow.Location);
CPPUNIT_ASSERT_EQUAL(sal_Int16(280), aShadow.ShadowWidth);
@@ -266,9 +266,9 @@ void Test::testCharacterBorder()
table::BorderLine2 aBorderArray[4] =
{
- table::BorderLine2(16724787,0,37,0,14,37), // Top (fine dashed line)
- table::BorderLine2(10092390,26,26,53,11,106), // Bottom
- table::BorderLine2(6711039,9,26,9,12,71), // Left
+ table::BorderLine2(0xFF3333,0,37,0,14,37), // Top (fine dashed line)
+ table::BorderLine2(0x99FF66,26,26,53,11,106), // Bottom
+ table::BorderLine2(0x6666FF,9,26,9,12,71), // Left
table::BorderLine2(0,0,0,0,0,0) // Right
};