Removed margins from write_common
svn: r9524
This commit is contained in:
parent
a163da2218
commit
c3471430b0
@ -331,10 +331,6 @@ class OptionListCollection(_Options.OptionListCollection):
|
||||
f.write(' <format name="%s"/>\n' % escxml(self.get_last_format_name()) )
|
||||
if self.get_last_orientation() != self.default_orientation:
|
||||
f.write(' <orientation value="%d"/>\n' % self.get_last_orientation() )
|
||||
if self.get_last_margins() != self.default_margins:
|
||||
margins = self.get_last_margins()
|
||||
for pos in range(len(margins)):
|
||||
f.write(' <margin number="%s" value="%f"/>\n' % (pos, margins[pos]))
|
||||
f.write('</last-common>\n')
|
||||
|
||||
def write_module_common(self,f,option_list):
|
||||
|
Loading…
Reference in New Issue
Block a user