summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorAndre Fischer <af@apache.org>2012-08-29 12:59:38 +0000
committerXisco Fauli <anistenis@gmail.com>2013-03-31 16:22:33 +0200
commit4313d73f1436f87d937ba10ee05b32bd363b125e (patch)
tree59223fcf2e6266afa3707a418fb1a73eefc647ac /sd/source
parentf7a3781bd6790ff9889bae9f636facfe84903140 (diff)
#i120684# Fixed export of red color-channel.
Patch by: Wang Zhe Review by: Andre Fischer
Diffstat (limited to 'sd/source')
-rw-r--r--sd/source/filter/eppt/pptexanimations.cxx2
1 files changed, 1 insertions, 1 deletions
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 );
}