summaryrefslogtreecommitdiff
path: root/sd/source
diff options
context:
space:
mode:
authorAndre Fischer <af@apache.org>2012-08-29 12:59:38 +0000
committerAndre Fischer <af@apache.org>2012-08-29 12:59:38 +0000
commitf1fe15fd8cfc00fe9bb894783f9ffb228d12568d (patch)
tree5f844a557a56f310515975fc5ebe254218fa2730 /sd/source
parentfd3be009c7489abf9629b9e3f923df3e3ec90a8f (diff)
#i120684# Fixed export of red color-channel.
Patch by: Wang Zhe Review by: Andre Fischer
Notes
Notes: merged as: 4313d73f1436f87d937ba10ee05b32bd363b125e
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 a75a635f8b92..acc8bb6bccdb 100644
--- a/sd/source/filter/eppt/pptexanimations.cxx
+++ b/sd/source/filter/eppt/pptexanimations.cxx
@@ -2073,7 +2073,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 );
}