SPCSSAttr should be merged with SPStyle

Bug #1324816 reported by Tavmjong Bah on 2014-05-30
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Undecided
Unassigned

Bug Description

The class SPCSSAttr (actually Inkscape::XML::Node)and supporting functions should be merged with SPStyle as they duplicate most of the same functionality. SPCSSAttr is used for temporary storage of a list of properties parsed from the 'style' attribute. Properties are then added or deleted from the list before writing the properties back to the 'style' attribute.

While SPCSSAttr is derived from Inkscape::XML::Node it doesn't appear to use any of the special features of Inkscape::XML::Node. It could have been implemented via a std::list of strings.

su_v (suv-lp) on 2015-10-05
tags: added: code-design
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers