Census report made this value too big (it tried to make more than 50 columns) even though the US 1880 census only has about 24.
svn: r15815
This commit is contained in:
parent
1f9eee3d92
commit
69b845c388
@ -699,7 +699,7 @@ class ODFDoc(BaseDoc, TextDoc, DrawDoc):
|
|||||||
'</style:style>\n'
|
'</style:style>\n'
|
||||||
)
|
)
|
||||||
|
|
||||||
for col in range(0, style.get_columns()):
|
for col in range(0, min(style.get_columns(), 50)):
|
||||||
width = table_width * float(style.get_column_width(col) / 100.0)
|
width = table_width * float(style.get_column_width(col) / 100.0)
|
||||||
width_str = "%.4f" % width
|
width_str = "%.4f" % width
|
||||||
wrt(
|
wrt(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user