Author: af
Date: Wed Aug 29 13:59:38 2012
New Revision: 1378563

URL: http://svn.apache.org/viewvc?rev=1378563&view=rev
Log:
#i120684# Fixed export of red color-channel.

          Patch by: Wang Zhe
          Review by: Andre Fischer

Modified:
    incubator/ooo/trunk/main/sd/source/filter/eppt/pptexanimations.cxx

Modified: incubator/ooo/trunk/main/sd/source/filter/eppt/pptexanimations.cxx
URL: 
http://svn.apache.org/viewvc/incubator/ooo/trunk/main/sd/source/filter/eppt/pptexanimations.cxx?rev=1378563&r1=1378562&r2=1378563&view=diff
==============================================================================
--- incubator/ooo/trunk/main/sd/source/filter/eppt/pptexanimations.cxx 
(original)
+++ incubator/ooo/trunk/main/sd/source/filter/eppt/pptexanimations.cxx Wed Aug 
29 13:59:38 2012
@@ -2073,7 +2073,7 @@ sal_Bool AnimationExporter::getColorAny(
        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 );
        }


Reply via email to