summaryrefslogtreecommitdiffstats
path: root/src/sp-path.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-path.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-path.cpp')
-rw-r--r--src/sp-path.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/sp-path.cpp b/src/sp-path.cpp
index 39ed4c657..5a0ff7c08 100644
--- a/src/sp-path.cpp
+++ b/src/sp-path.cpp
@@ -214,10 +214,10 @@ static void
sp_path_build(SPObject *object, SPDocument *document, Inkscape::XML::Node *repr)
{
/* Are these calls actually necessary? */
- sp_object_read_attr(object, "marker");
- sp_object_read_attr(object, "marker-start");
- sp_object_read_attr(object, "marker-mid");
- sp_object_read_attr(object, "marker-end");
+ object->readAttr( "marker");
+ object->readAttr( "marker-start");
+ object->readAttr( "marker-mid");
+ object->readAttr( "marker-end");
sp_conn_end_pair_build(object);
@@ -225,13 +225,13 @@ sp_path_build(SPObject *object, SPDocument *document, Inkscape::XML::Node *repr)
((SPObjectClass *) parent_class)->build(object, document, repr);
}
- sp_object_read_attr(object, "inkscape:original-d");
- sp_object_read_attr(object, "d");
+ object->readAttr( "inkscape:original-d");
+ object->readAttr( "d");
/* d is a required attribute */
- gchar const *d = sp_object_getAttribute(object, "d", NULL);
+ gchar const *d = object->getAttribute("d", NULL);
if (d == NULL) {
- sp_object_set(object, sp_attribute_lookup("d"), "");
+ object->setKeyValue( sp_attribute_lookup("d"), "");
}
}