[Libreoffice-commits] mso-dumper.git: msodumper/docrecord.py
Michael Stahl
mstahl at redhat.com
Wed Feb 22 12:45:03 UTC 2017
msodumper/docrecord.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit cc08c9db559ed7ac2bcb2d069fba62e9b2b8403a
Author: Michael Stahl <mstahl at redhat.com>
Date: Wed Feb 22 13:40:42 2017 +0100
docrecord: PapxInFkp, if cb != 0 the rest of it is 2*cb - 1 bytes
diff --git a/msodumper/docrecord.py b/msodumper/docrecord.py
index 5b879f8..471a8cf 100644
--- a/msodumper/docrecord.py
+++ b/msodumper/docrecord.py
@@ -1735,7 +1735,7 @@ class PapxInFkp(BinaryStream):
self.printAndSet("cb_", self.readuInt8())
grpPrlAndIstd = GrpPrlAndIstd(self.bytes, self.pos, 2 * self.cb_, mainStream=self.mainStream)
else:
- grpPrlAndIstd = GrpPrlAndIstd(self.bytes, self.pos, self.cb, mainStream=self.mainStream)
+ grpPrlAndIstd = GrpPrlAndIstd(self.bytes, self.pos, 2 * self.cb - 1, mainStream=self.mainStream)
grpPrlAndIstd.dump()
print '</papxInFkp>'
More information about the Libreoffice-commits
mailing list