SPCSSAttr should be merged with SPStyle

Bug #1324816 reported by Tavmjong Bah
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
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)
tags: added: code-design
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.