diff options
| author | Martin Owens <doctormo@gmail.com> | 2018-10-04 21:17:06 +0000 |
|---|---|---|
| committer | Martin Owens <doctormo@gmail.com> | 2018-10-04 21:17:25 +0000 |
| commit | 18f47b7cfa0cbba620fe333e59db64a805528c93 (patch) | |
| tree | 698dcd89b63ee854d45de682e5467ed363ced750 /src/object/sp-object.cpp | |
| parent | fix compiling on macOS (diff) | |
| download | inkscape-18f47b7cfa0cbba620fe333e59db64a805528c93.tar.gz inkscape-18f47b7cfa0cbba620fe333e59db64a805528c93.zip | |
Remove old unset code which isn't used any more
Diffstat (limited to '')
| -rw-r--r-- | src/object/sp-object.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/object/sp-object.cpp b/src/object/sp-object.cpp index 93a3f131a..0fc4f0d52 100644 --- a/src/object/sp-object.cpp +++ b/src/object/sp-object.cpp @@ -1097,21 +1097,6 @@ Inkscape::XML::Node* SPObject::write(Inkscape::XML::Document *doc, Inkscape::XML } g_warning("Item's style is NULL; repr style attribute is %s", style_str); } - - /** \note We treat this->style as authoritative. Its effects have - * been written to the style attribute above; any properties that are - * unset we take to be deliberately unset (e.g. so that clones can - * override the property). - * - * Note that the below has an undesirable consequence of changing the - * appearance on renderers that lack CSS support (e.g. SVG tiny); - * possibly we should write property attributes instead of a style - * attribute. - */ - // With the changes to preserves style source this is no longer needed - // and the above comment no longer applies. I leave it here until these - // change are well tested. - // sp_style_unset_property_attrs (this); } #ifdef OBJECT_TRACE |
