Kaydet (Commit) eb4c29f4 authored tarafından Matthew Francis's avatar Matthew Francis Kaydeden (comit) Caolán McNamara

fdo#84336 Fix swf rendering

Commit d83dfeb5 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/14084Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 83133f17
......@@ -178,7 +178,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 ) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment