summaryrefslogtreecommitdiffstats
path: root/src/sp-use.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-use.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-use.cpp')
-rw-r--r--src/sp-use.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/sp-use.cpp b/src/sp-use.cpp
index 3770b2324..075c7f804 100644
--- a/src/sp-use.cpp
+++ b/src/sp-use.cpp
@@ -160,11 +160,11 @@ sp_use_build(SPObject *object, SPDocument *document, Inkscape::XML::Node *repr)
(* ((SPObjectClass *) parent_class)->build)(object, document, repr);
}
- 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, "xlink:href");
+ object->readAttr( "x");
+ object->readAttr( "y");
+ object->readAttr( "width");
+ object->readAttr( "height");
+ object->readAttr( "xlink:href");
// We don't need to create child here:
// reading xlink:href will attach ref, and that will cause the changed signal to be emitted,
@@ -492,7 +492,7 @@ sp_use_move_compensate(Geom::Matrix const *mp, SPItem */*original*/, SPUse *self
return;
// restore item->transform field from the repr, in case it was changed by seltrans
- sp_object_read_attr (SP_OBJECT (self), "transform");
+ SP_OBJECT (self)->readAttr ("transform");
Geom::Matrix t = sp_use_get_parent_transform(self);
Geom::Matrix clone_move = t.inverse() * m * t;