[Libreoffice-commits] mso-dumper.git: src/xlsrecord.py
Kohei Yoshida
kohei at kemper.freedesktop.org
Wed Aug 14 13:25:33 PDT 2013
src/xlsrecord.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit 5ede898401f8082f2e5260a8ccacdedb5c282e6b
Author: Kohei Yoshida <kohei.yoshida at gmail.com>
Date: Wed Aug 14 16:25:42 2013 -0400
Catch exception in case of error during mso drawing record parsing.
diff --git a/src/xlsrecord.py b/src/xlsrecord.py
index ecc4029..3e3ebfc 100644
--- a/src/xlsrecord.py
+++ b/src/xlsrecord.py
@@ -5317,7 +5317,10 @@ together.
def parseBytes (self):
self.__parseBytes()
- self.msodHdl.parseBytes()
+ try:
+ self.msodHdl.parseBytes()
+ except:
+ self.appendLine("Error while parsing MSO Drawing record!")
def fillModel (self, model):
self.__parseBytes()
More information about the Libreoffice-commits
mailing list