[Libreoffice-commits] mso-dumper.git: msodumper/docrecord.py

Miklos Vajna vmiklos at collabora.co.uk
Thu Dec 10 06:36:54 PST 2015


 msodumper/docrecord.py |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

New commits:
commit 6320ba8a8409c9b60435479446f15440e918dc8e
Author: Miklos Vajna <vmiklos at collabora.co.uk>
Date:   Thu Dec 10 15:36:27 2015 +0100

    docrecord: PlcfBkld contains an FBKLD

diff --git a/msodumper/docrecord.py b/msodumper/docrecord.py
index 7736a92..fbb3590 100644
--- a/msodumper/docrecord.py
+++ b/msodumper/docrecord.py
@@ -188,7 +188,7 @@ class FBKLD(DOCDirStream):
         print '<aFBKLD type="FBKLD" offset="%d">' % self.pos
         self.printAndSet("ibkf", self.readuInt16())
         self.printAndSet("cDepth", self.readuInt16())
-        print '</aFBKFD>'
+        print '</aFBKLD>'
 
 
 class PlcfBkld(DOCDirStream, PLC):
@@ -199,7 +199,7 @@ class PlcfBkld(DOCDirStream, PLC):
         self.pos = mainStream.fcPlcfBklFactoid
         self.size = mainStream.lcbPlcfBklFactoid
         self.aCP = []
-        self.aFBKFD = []
+        self.aFBKLD = []
 
     def dump(self):
         print '<plcfBkld type="PlcfBkld" offset="%d" size="%d bytes">' % (self.pos, self.size)
@@ -211,10 +211,10 @@ class PlcfBkld(DOCDirStream, PLC):
             print '<aCP index="%d" bookmarkEnd="%d">' % (i, start)
             pos += 4
 
-            # aFBKFD
-            aFBKFD = FBKFD(self, self.getOffset(self.pos, i))
-            aFBKFD.dump()
-            self.aFBKFD.append(aFBKFD)
+            # aFBKLD
+            aFBKLD = FBKLD(self, self.getOffset(self.pos, i))
+            aFBKLD.dump()
+            self.aFBKLD.append(aFBKLD)
             print '</aCP>'
         print '</plcfBkld>'
 


More information about the Libreoffice-commits mailing list