summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorMatthew Francis <mjay.francis@gmail.com>2015-01-21 23:58:03 +0800
committerMichael Stahl <mstahl@redhat.com>2015-01-22 14:09:20 +0000
commit6da6af3050393db90b6a6f0c3b1db885f9ddbf14 (patch)
tree47cbaaae29854883a7fea828a2514019d31181f6 /filter
parenta358461a5c266bec5148f89e7fbb4b4d7d0ce91e (diff)
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@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit eb4c29f4d10ae4be0e6be15a4c7c8c5bfb1edcc3) Reviewed-on: https://gerrit.libreoffice.org/14086 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'filter')
-rw-r--r--filter/source/flash/swfwriter1.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/filter/source/flash/swfwriter1.cxx b/filter/source/flash/swfwriter1.cxx
index e2c34c10f8ef..ae9d1a06044d 100644
--- a/filter/source/flash/swfwriter1.cxx
+++ b/filter/source/flash/swfwriter1.cxx
@@ -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 ) );