src/pptstream.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 26802820dda81ffdd07fba03e259a271be7149d6 Author: Tor Lillqvist <tlillqv...@suse.com> Date: Thu May 3 14:35:47 2012 +0300 Print record type and instance in decimal, too Makes cross-referencing with the Microsoft PPT format specification easier, as that uses decimal for these. diff --git a/src/pptstream.py b/src/pptstream.py index 8e32501..4468e81 100644 --- a/src/pptstream.py +++ b/src/pptstream.py @@ -125,8 +125,8 @@ class PPTDirStream(object): self.__print("[%s]"%recData[recordType][0]) else: self.__print("[anon record]") - self.__print("(type: %4.4Xh inst: %4.4Xh, vers: %4.4Xh, start: %d, size: %d)"% - (recordType, recordInstance, recordVersion, startPos, size)) + self.__print("(type: %4.4Xh (%d) inst: %4.4Xh (%d), vers: %4.4Xh, start: %d, size: %d)"% + (recordType, recordType, recordInstance, recordInstance, recordVersion, startPos, size)) self.__printSep('=') _______________________________________________ Libreoffice-commits mailing list Libreoffice-commits@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits