summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-02-02 16:02:42 +0000
committerMichael Stahl <mstahl@redhat.com>2017-02-02 19:54:51 +0000
commit8cf44d483d6696ab1ec4c5da82782e69a6a1fd54 (patch)
treef370e39190837e725d1b7dd1d28014758590178a /sw
parente6ecdaa1f8a6e78883fc7952b125151ced30d606 (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/33837 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/ww8atr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8atr.cxx b/sw/source/filter/ww8/ww8atr.cxx
index 400f7f50b2e4..1e0b84710215 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 )