Fix crash in ODF styled text output.

svn: r18387
This commit is contained in:
Brian Matherly 2011-10-31 02:33:06 +00:00
parent a05af07153
commit 366daad079

View File

@ -130,8 +130,7 @@ class OdfBackend(DocBackend):
self.ESCAPE_FUNC()(value),
'</text:span>')
elif ( tagtype == DocBackend.FONTSIZE ):
return ('<text:span text:style-name=\"FontSize__%s__\">' %
self.ESCAPE_FUNC()(value),
return ('<text:span text:style-name=\"FontSize__%d__\">' % value,
'</text:span>')
else: #elif ( tagtype == DocBackend.HIGHLIGHT ):
return ('<text:span text:style-name=\"FontHighlight__%s__\">' %