From d3510bef84423f17ece0715b7a8cdb75725c5938 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 27 Feb 2018 17:18:39 +0200 Subject: make Color::GetRGBColor return Color instead of ColorData Change-Id: I532959a7103c3857510f26ecce2f942d676a233b Reviewed-on: https://gerrit.libreoffice.org/50487 Tested-by: Jenkins Reviewed-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 28ec385b2f3e..cbcb0eb265df 100644 --- a/framework/source/xml/imagesdocumenthandler.cxx +++ b/framework/source/xml/imagesdocumenthandler.cxx @@ -670,7 +670,7 @@ void OWriteImagesDocumentHandler::WriteImageList( const ImageListItemDescriptor* else { OUStringBuffer aColorStrBuffer( 8 ); - sal_Int64 nValue = pImageList->aMaskColor.GetRGBColor(); + sal_Int64 nValue = sal_uInt32(pImageList->aMaskColor.GetRGBColor()); aColorStrBuffer.append( "#" ); aColorStrBuffer.append( OUString::number( nValue, 16 )); -- cgit