[Libreoffice-commits] core.git: Branch 'libreoffice-4-3' - filter/source

Matthew Francis mjay.francis at gmail.com
Wed Jan 21 08:08:14 PST 2015


 filter/source/flash/swfwriter1.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 09037c9f41799893c42b719aa332730a5e1c4bf7
Author: Matthew Francis <mjay.francis at gmail.com>
Date:   Wed Jan 21 23:58:03 2015 +0800

    fdo#84336 Fix swf rendering
    
    Commit d83dfeb5e59c8f3de12d673b001a44001f644e7d accidentally inverted
    a test, causing at least the presentation linked on the above bug to
    render all black
    
    Change-Id: I2267ef43023b735587d6921f17aa7207f70dbd7b
    Reviewed-on: https://gerrit.libreoffice.org/14084
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>
    (cherry picked from commit eb4c29f4d10ae4be0e6be15a4c7c8c5bfb1edcc3)
    Reviewed-on: https://gerrit.libreoffice.org/14087

diff --git a/filter/source/flash/swfwriter1.cxx b/filter/source/flash/swfwriter1.cxx
index 89e5e97..82f8d4e 100644
--- a/filter/source/flash/swfwriter1.cxx
+++ b/filter/source/flash/swfwriter1.cxx
@@ -181,7 +181,7 @@ void Writer::Impl_addShapeRecordChange( BitStream& rBits, sal_Int16 dx, sal_Int1
     rBits.writeUB( 0, 1 );          // StateNewStyles
     rBits.writeUB( sal_uInt32(!bFilled), 1 ); // StateLineStyle
     rBits.writeUB( 0, 1 );          // StateFillStyle0
-    rBits.writeUB( bFilled ? 0 : 1, 1 );        // StateFillStyle1
+    rBits.writeUB( bFilled ? 1 : 0, 1 );        // StateFillStyle1
     rBits.writeUB( 1, 1 );          // StateMoveTo
 
     sal_uInt16 nMoveBits = max( getMaxBitsSigned( dx ), getMaxBitsSigned( dy ) );


More information about the Libreoffice-commits mailing list