summaryrefslogtreecommitdiff
path: root/sd/qa/unit/import-tests.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-03-06 13:18:13 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-07 07:10:49 +0100
commit1a41c0711d10bcfa45c7cd7d56c1e7f0055fa310 (patch)
tree2cc10a6e936d45cdc317717d216c0b3a2e060033 /sd/qa/unit/import-tests.cxx
parent26a016be816826c80fc914a927758a814f29136c (diff)
use more Color in sd
Change-Id: Iefd544a70730dfb760b7a89ff697a86ab4fae685 Reviewed-on: https://gerrit.libreoffice.org/50818 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd/qa/unit/import-tests.cxx')
-rw-r--r--sd/qa/unit/import-tests.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/qa/unit/import-tests.cxx b/sd/qa/unit/import-tests.cxx
index 4fcc325b2370..bc343af65ba5 100644
--- a/sd/qa/unit/import-tests.cxx
+++ b/sd/qa/unit/import-tests.cxx
@@ -993,11 +993,11 @@ void SdImportTest::testBnc584721_4()
// Get first run of the paragraph
uno::Reference<text::XTextRange> xRun( getRunFromParagraph (0, xParagraph ) );
uno::Reference< beans::XPropertySet > xPropSet( xRun, uno::UNO_QUERY_THROW );
- sal_Int32 nCharColor;
+ Color nCharColor;
xPropSet->getPropertyValue( "CharColor" ) >>= nCharColor;
// Color should be black
- CPPUNIT_ASSERT_EQUAL( sal_Int32(COL_BLACK), nCharColor );
+ CPPUNIT_ASSERT_EQUAL( COL_BLACK, nCharColor );
xDocShRef->DoClose();
}