src/docrecord.py | 2 ++ test/doc/pass/abi2017-1.doc |binary 2 files changed, 2 insertions(+)
New commits: commit 350c119cd6ea7346f89dad6e446fe89043eeb6af Author: Miklos Vajna <[email protected]> Date: Thu Aug 22 18:04:31 2013 +0200 LPStd: handle when STD doesn't read cbStd bytes diff --git a/src/docrecord.py b/src/docrecord.py index c02e0d3..b98524d 100644 --- a/src/docrecord.py +++ b/src/docrecord.py @@ -3096,10 +3096,12 @@ class LPStd(DOCDirStream): def dump(self): self.printAndSet("cbStd", self.readuInt16()) + posOrig = self.pos if self.cbStd > 0: std = STD(self) std.dump() self.pos = std.pos + self.pos = posOrig + self.cbStd class STSH(DOCDirStream): """The STSH structure specifies the stylesheet for a document.""" diff --git a/test/doc/pass/abi2017-1.doc b/test/doc/pass/abi2017-1.doc new file mode 100644 index 0000000..0d946a9 Binary files /dev/null and b/test/doc/pass/abi2017-1.doc differ _______________________________________________ Libreoffice-commits mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
