summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2017-02-02 16:02:42 +0000
committerCaolán McNamara <caolanm@redhat.com>2017-02-02 16:09:06 +0000
commit6263d03d538f014af2e17a4ecf3d218387ba5219 (patch)
treeac92c4f24f26e86449834ca65acc6c94c2a0bb44
parent22ec7880ba79df0ee2151f9a908fdd4507a345d7 (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
-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 1a833a9af899..274739e225b3 100644
--- a/sw/source/filter/ww8/ww8atr.cxx
+++ b/sw/source/filter/ww8/ww8atr.cxx
@@ -1124,7 +1124,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 )