[Libreoffice-commits] .: src/xlsrecord.py

Kohei Yoshida kohei at kemper.freedesktop.org
Wed Feb 23 18:34:00 PST 2011


 src/xlsrecord.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit db993851e9c1deb94dbc64150cc4783ef7de2a4b
Author: Kohei Yoshida <kyoshida at novell.com>
Date:   Wed Feb 23 21:33:36 2011 -0500

    We need to encode number format codes in case it contains unicode.

diff --git a/src/xlsrecord.py b/src/xlsrecord.py
index 8c73e6b..57c3521 100644
--- a/src/xlsrecord.py
+++ b/src/xlsrecord.py
@@ -917,7 +917,7 @@ class Format(BaseRecordHandler):
     def parseBytes (self):
         self.__parseBytes()
         self.appendLine("index: %d"%self.numfmtID)
-        self.appendLine("code: %s"%self.code)
+        self.appendLine("code: %s"%globals.encodeName(self.code))
 
 
 class Formula(BaseRecordHandler):


More information about the Libreoffice-commits mailing list