diff --git a/gramps/src/OpenOfficeDoc.py b/gramps/src/OpenOfficeDoc.py index b8fb4525a..b790b7b66 100644 --- a/gramps/src/OpenOfficeDoc.py +++ b/gramps/src/OpenOfficeDoc.py @@ -189,7 +189,7 @@ class OpenOfficeDoc(TextDoc): self.f.write(tag) self.f.write('" text:anchor-type="paragraph" ') self.f.write('svg:width="%scm" ' % cnv("%.3f",float(act_width)/72.0)) - self.f.write('svg:height="%scm" ' % cnv((float(act_height)/72.0))) + self.f.write('svg:height="%scm" ' % cnv("%.3f",(float(act_height)/72.0))) self.f.write('draw:z-index="0" ') self.f.write('xlink:href="#Pictures/') self.f.write(base) @@ -370,9 +370,9 @@ class OpenOfficeDoc(TextDoc): self.f.write('\n') self.f.write('\n') self.f.write('