summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2015-12-14 15:15:17 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2015-12-14 15:30:20 +0100
commite0ae7c786b8e1a2422c8c28ca3a2a35d93e018d1 (patch)
treed1012c5218b448dd50fb1fb2413ab67b072949dc /sw/source
parentfed39aeae06cbd38be1a57e68eb8859df7a9b3f2 (diff)
DOC filter: tokenize Plcffactoid
Change-Id: Icef8c521d6a0ad1ee1fa1eadf2e472910c9193f2
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/filter/ww8/ww8scan.cxx4
-rw-r--r--sw/source/filter/ww8/ww8scan.hxx9
2 files changed, 11 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/ww8scan.cxx b/sw/source/filter/ww8/ww8scan.cxx
index 98b4a5a75b3e..7386ee8fa0a5 100644
--- a/sw/source/filter/ww8/ww8scan.cxx
+++ b/sw/source/filter/ww8/ww8scan.cxx
@@ -6256,7 +6256,9 @@ bool WW8Fib::Write(SvStream& rStrm)
Set_UInt32(pData, fcFactoidData);
Set_UInt32(pData, lcbFactoidData);
- pData += 0x4DA - 0x452;
+ pData += 0x4BA - 0x452;
+ Set_UInt32(pData, fcPlcffactoid);
+ Set_UInt32(pData, lcbPlcffactoid);
}
else
pData += 0x4DA - 0x422;
diff --git a/sw/source/filter/ww8/ww8scan.hxx b/sw/source/filter/ww8/ww8scan.hxx
index 0b18076c745a..0b4c263e4e8e 100644
--- a/sw/source/filter/ww8/ww8scan.hxx
+++ b/sw/source/filter/ww8/ww8scan.hxx
@@ -1474,7 +1474,14 @@ public:
/// 0x44e smart tag data length.
sal_uInt32 lcbFactoidData;
- // 0x452 - 0x4d4 == ignore
+ // 0x452 - 0x4b9 == ignore
+
+ /// 0x4ba Plcffactoid offset.
+ WW8_FC fcPlcffactoid;
+ /// 0x4be Plcffactoid offset.
+ sal_uInt32 lcbPlcffactoid;
+
+ // 0x4bf - 0x4d4 == ignore
WW8_FC fcHplxsdr; //bizarrely, word xp seems to require this set to shows dates from AtrdExtra
sal_uInt32 lcbHplxsdr;