refactoring following comment on pull request

This commit is contained in:
Cezary Tarnowski 2011-12-13 15:28:18 +01:00
parent 0882f0e668
commit 79af8fdbc9
4 changed files with 17 additions and 18 deletions

View file

@ -241,10 +241,9 @@ public:
{
set_attr( sym_node, "fill-opacity", sym.get_opacity() );
}
if ( sym.height() != dfl.height() || explicit_defaults_ )
{
set_attr( sym_node, "height", sym.height() );
}
set_attr( sym_node, "height", to_expression_string(*sym.height()) );
add_metawriter_attributes(sym_node, sym);
}