Fix crash in ODF styled text output.
svn: r18387
This commit is contained in:
parent
a05af07153
commit
366daad079
@ -130,8 +130,7 @@ class OdfBackend(DocBackend):
|
|||||||
self.ESCAPE_FUNC()(value),
|
self.ESCAPE_FUNC()(value),
|
||||||
'</text:span>')
|
'</text:span>')
|
||||||
elif ( tagtype == DocBackend.FONTSIZE ):
|
elif ( tagtype == DocBackend.FONTSIZE ):
|
||||||
return ('<text:span text:style-name=\"FontSize__%s__\">' %
|
return ('<text:span text:style-name=\"FontSize__%d__\">' % value,
|
||||||
self.ESCAPE_FUNC()(value),
|
|
||||||
'</text:span>')
|
'</text:span>')
|
||||||
else: #elif ( tagtype == DocBackend.HIGHLIGHT ):
|
else: #elif ( tagtype == DocBackend.HIGHLIGHT ):
|
||||||
return ('<text:span text:style-name=\"FontHighlight__%s__\">' %
|
return ('<text:span text:style-name=\"FontHighlight__%s__\">' %
|
||||||
|
Loading…
x
Reference in New Issue
Block a user