diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-02-02 16:02:42 +0000 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-02-02 19:54:33 +0000 |
commit | 398fd59c9047c49f0fe39fdd877eef610d095eaf (patch) | |
tree | 2ddbaae1bb40a5f0b5fc9e07dc16412eb2569d81 | |
parent | 9176d089b6a65649f136e20ec260311535d26948 (diff) |
bffvalidator: animated text srpm has 1 byte payload, not 2
which is why my sample document creates a .doc which triggers
word's safe mode
this has been wrong since initial impl in
commit 4d5c193b2fd38c6cab049fcb97189462fff0fddb
...
2003/07/17 14:13:17 mmaher 1.64.6.6: #110851# Added support for animated text effects
a mere 13+ years ago
Change-Id: I8c4d95dac8e03f6523a2a036f0100f425f787a13
(cherry picked from commit 6263d03d538f014af2e17a4ecf3d218387ba5219)
Reviewed-on: https://gerrit.libreoffice.org/33838
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r-- | sw/source/filter/ww8/ww8atr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8atr.cxx b/sw/source/filter/ww8/ww8atr.cxx index ebd51df6be9e..fb6b552d26ed 100644 --- a/sw/source/filter/ww8/ww8atr.cxx +++ b/sw/source/filter/ww8/ww8atr.cxx @@ -1125,7 +1125,7 @@ void WW8AttributeOutput::CharAnimatedText( const SvxBlinkItem& rBlink ) { m_rWW8Export.InsUInt16( NS_sprm::LN_CSfxText ); // At the moment the only animated text effect we support is blinking - m_rWW8Export.InsUInt16( rBlink.GetValue() ? 2 : 0 ); + m_rWW8Export.pO->push_back( rBlink.GetValue() ? 2 : 0 ); } void WW8AttributeOutput::CharCrossedOut( const SvxCrossedOutItem& rCrossed ) |