From 1a41c0711d10bcfa45c7cd7d56c1e7f0055fa310 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 6 Mar 2018 13:18:13 +0200 Subject: use more Color in sd Change-Id: Iefd544a70730dfb760b7a89ff697a86ab4fae685 Reviewed-on: https://gerrit.libreoffice.org/50818 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sd/qa/unit/import-tests.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sd/qa/unit/import-tests.cxx') 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 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(); } -- cgit