From 5564a31c3fe1098fd72635238d33a3dbafb8b62e Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 27 Feb 2018 15:06:21 +0200 Subject: use less COLORDATA_RGB part of removing ColorData Change-Id: I5518cddeeefe66f70380367e1e3f78af0f3b5fbc Reviewed-on: https://gerrit.libreoffice.org/50486 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- framework/source/xml/imagesdocumenthandler.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'framework') diff --git a/framework/source/xml/imagesdocumenthandler.cxx b/framework/source/xml/imagesdocumenthandler.cxx index 327e666fde9d..28ec385b2f3e 100644 --- a/framework/source/xml/imagesdocumenthandler.cxx +++ b/framework/source/xml/imagesdocumenthandler.cxx @@ -224,7 +224,7 @@ void SAL_CALL OReadImagesDocumentHandler::startElement( // the color value is given as #rrggbb and used the hexadecimal system!! sal_uInt32 nColor = aColor.copy( 1 ).toUInt32( 16 ); - m_pImages->aMaskColor = Color( COLORDATA_RGB( nColor ) ); + m_pImages->aMaskColor = Color( nColor ); } } break; -- cgit v1.2.3