summaryrefslogtreecommitdiffstats
path: root/src/object/sp-object.cpp
diff options
context:
space:
mode:
authorMartin Owens <doctormo@gmail.com>2018-10-04 21:17:06 +0000
committerMartin Owens <doctormo@gmail.com>2018-10-04 21:17:25 +0000
commit18f47b7cfa0cbba620fe333e59db64a805528c93 (patch)
tree698dcd89b63ee854d45de682e5467ed363ced750 /src/object/sp-object.cpp
parentfix compiling on macOS (diff)
downloadinkscape-18f47b7cfa0cbba620fe333e59db64a805528c93.tar.gz
inkscape-18f47b7cfa0cbba620fe333e59db64a805528c93.zip
Remove old unset code which isn't used any more
Diffstat (limited to 'src/object/sp-object.cpp')
-rw-r--r--src/object/sp-object.cpp15
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