summaryrefslogtreecommitdiffstats
path: root/src/sp-filter.cpp
diff options
context:
space:
mode:
authorAbhishek Sharma Public <spyzerdotabhishek0at-signgmaildotcom>2010-07-12 16:36:46 +0000
committerAbhishek Sharma Public <spyzerdotabhishek0at-signgmaildotcom>2010-07-12 16:36:46 +0000
commit6cc35b45eab6422a6b6f67d621aa259a0a73786f (patch)
treedf398a765e8fcee6d5455270544cafb197651c42 /src/sp-filter.cpp
parentC++ification of SPObject continued along with the onset of XML Privatisation.... (diff)
downloadinkscape-6cc35b45eab6422a6b6f67d621aa259a0a73786f.tar.gz
inkscape-6cc35b45eab6422a6b6f67d621aa259a0a73786f.zip
SPObject c++ification finalized along with the beginning of XML Privatisation tweaks
(bzr r9546.1.6)
Diffstat (limited to 'src/sp-filter.cpp')
-rw-r--r--src/sp-filter.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/sp-filter.cpp b/src/sp-filter.cpp
index 2464b73a5..e65a7be05 100644
--- a/src/sp-filter.cpp
+++ b/src/sp-filter.cpp
@@ -136,14 +136,14 @@ sp_filter_build(SPObject *object, SPDocument *document, Inkscape::XML::Node *rep
}
//Read values of key attributes from XML nodes into object.
- sp_object_read_attr(object, "filterUnits");
- sp_object_read_attr(object, "primitiveUnits");
- sp_object_read_attr(object, "x");
- sp_object_read_attr(object, "y");
- sp_object_read_attr(object, "width");
- sp_object_read_attr(object, "height");
- sp_object_read_attr(object, "filterRes");
- sp_object_read_attr(object, "xlink:href");
+ object->readAttr( "filterUnits");
+ object->readAttr( "primitiveUnits");
+ object->readAttr( "x");
+ object->readAttr( "y");
+ object->readAttr( "width");
+ object->readAttr( "height");
+ object->readAttr( "filterRes");
+ object->readAttr( "xlink:href");
//is this necessary?
document->add_resource("filter", object);