summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
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 ));