From 4313d73f1436f87d937ba10ee05b32bd363b125e Mon Sep 17 00:00:00 2001 From: Andre Fischer Date: Wed, 29 Aug 2012 12:59:38 +0000 Subject: #i120684# Fixed export of red color-channel. Patch by: Wang Zhe Review by: Andre Fischer --- sd/source/filter/eppt/pptexanimations.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sd') diff --git a/sd/source/filter/eppt/pptexanimations.cxx b/sd/source/filter/eppt/pptexanimations.cxx index 8345a12e6a7c..bac80c964d14 100644 --- a/sd/source/filter/eppt/pptexanimations.cxx +++ b/sd/source/filter/eppt/pptexanimations.cxx @@ -2053,7 +2053,7 @@ sal_Bool AnimationExporter::getColorAny( const Any& rAny, const sal_Int16 nColor Sequence< double > aHSL( 3 ); if ( rAny >>= nColor ) // RGB color { - rA = (sal_uInt8)( nColor >> 24 ); + rA = (sal_uInt8)( nColor >> 16 ); rB = (sal_uInt8)( nColor >> 8 ); rC = (sal_uInt8)( nColor ); } -- cgit