[Libreoffice-commits] core.git: sw/source

Miklos Vajna vmiklos at collabora.co.uk
Mon Dec 14 06:30:49 PST 2015


 sw/source/filter/ww8/ww8scan.cxx |    4 +++-
 sw/source/filter/ww8/ww8scan.hxx |    9 ++++++++-
 2 files changed, 11 insertions(+), 2 deletions(-)

New commits:
commit e0ae7c786b8e1a2422c8c28ca3a2a35d93e018d1
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Mon Dec 14 15:15:17 2015 +0100

    DOC filter: tokenize Plcffactoid
    
    Change-Id: Icef8c521d6a0ad1ee1fa1eadf2e472910c9193f2

diff --git a/sw/source/filter/ww8/ww8scan.cxx b/sw/source/filter/ww8/ww8scan.cxx
index 98b4a5a..7386ee8 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 0b18076..0b4c263 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;


More information about the Libreoffice-commits mailing list