summaryrefslogtreecommitdiff
path: root/sw/qa/extras/ww8export
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-22 13:29:03 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-02-26 07:20:25 +0100
commitace95cf48ee88d78a17765e5f4f26bb93d5940cf (patch)
tree206d070d4b9eef0c84a78deda5df863ac174354c /sw/qa/extras/ww8export
parentfa2dd2ba03f8be1f148dca8f6164daaf7bbf7d96 (diff)
ColorData->Color in various
Change-Id: I22018b6a535224316d93bfd621771248b873a218 Reviewed-on: https://gerrit.libreoffice.org/50167 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sw/qa/extras/ww8export')
-rw-r--r--sw/qa/extras/ww8export/ww8export.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/extras/ww8export/ww8export.cxx b/sw/qa/extras/ww8export/ww8export.cxx
index f63260bcc056..f3ad01808c09 100644
--- a/sw/qa/extras/ww8export/ww8export.cxx
+++ b/sw/qa/extras/ww8export/ww8export.cxx
@@ -1370,8 +1370,8 @@ DECLARE_WW8EXPORT_TEST(testTdf99474, "tdf99474.odt")
uno::Reference<beans::XPropertySet> xStyle(
getStyles("CharacterStyles")->getByName(charStyleName),
uno::UNO_QUERY);
- ColorData charColor = getProperty<util::Color>(xStyle, "CharColor");
- CPPUNIT_ASSERT_EQUAL(COL_AUTO, charColor);
+ Color charColor(getProperty<util::Color>(xStyle, "CharColor"));
+ CPPUNIT_ASSERT_EQUAL(sal_uInt32(COL_AUTO), sal_uInt32(charColor));
}
CPPUNIT_PLUGIN_IMPLEMENT();