5755: some report "custom paper" sizes are saved incorrectly

svn: r19623
This commit is contained in:
Paul Franklin 2012-05-22 15:51:59 +00:00
parent 74813da8f0
commit f23562019e

View File

@ -434,7 +434,7 @@ class OptionListCollection(_options.OptionListCollection):
f.write(' <metric value="%d"/>\n' %
option_list.get_paper_metric() )
if option_list.get_custom_paper_size():
size = self.get_last_custom_paper_size()
size = option_list.get_custom_paper_size()
f.write(' <size value="%f %f"/>\n' % (size[0], size[1]) )
if option_list.get_margins():
margins = option_list.get_margins()