summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-27 17:18:39 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-03-01 08:24:24 +0100
commitd3510bef84423f17ece0715b7a8cdb75725c5938 (patch)
tree6353de73ea7328e6f4f8297a6f85a1d618a2ee33 /framework
parent38368a9ec30d1979f03f4b7035a1c5ecb9ac24e6 (diff)
make Color::GetRGBColor return Color instead of ColorData
Change-Id: I532959a7103c3857510f26ecce2f942d676a233b Reviewed-on: https://gerrit.libreoffice.org/50487 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'framework')
-rw-r--r--framework/source/xml/imagesdocumenthandler.cxx2
1 files changed, 1 insertions, 1 deletions
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 ));