From 18f47b7cfa0cbba620fe333e59db64a805528c93 Mon Sep 17 00:00:00 2001 From: Martin Owens Date: Thu, 4 Oct 2018 17:17:06 -0400 Subject: Remove old unset code which isn't used any more --- src/object/sp-object.cpp | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src/object/sp-object.cpp') 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 -- cgit v1.2.3