From 6cc35b45eab6422a6b6f67d621aa259a0a73786f Mon Sep 17 00:00:00 2001 From: Abhishek Sharma Public Date: Mon, 12 Jul 2010 22:06:46 +0530 Subject: SPObject c++ification finalized along with the beginning of XML Privatisation tweaks (bzr r9546.1.6) --- src/sp-animation.cpp | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) (limited to 'src/sp-animation.cpp') diff --git a/src/sp-animation.cpp b/src/sp-animation.cpp index 2d9f2e941..85fa615de 100644 --- a/src/sp-animation.cpp +++ b/src/sp-animation.cpp @@ -89,18 +89,18 @@ sp_animation_build(SPObject *object, SPDocument *document, Inkscape::XML::Node * if (((SPObjectClass *) animation_parent_class)->build) ((SPObjectClass *) animation_parent_class)->build(object, document, repr); - sp_object_read_attr(object, "xlink:href"); - sp_object_read_attr(object, "attributeName"); - sp_object_read_attr(object, "attributeType"); - sp_object_read_attr(object, "begin"); - sp_object_read_attr(object, "dur"); - sp_object_read_attr(object, "end"); - sp_object_read_attr(object, "min"); - sp_object_read_attr(object, "max"); - sp_object_read_attr(object, "restart"); - sp_object_read_attr(object, "repeatCount"); - sp_object_read_attr(object, "repeatDur"); - sp_object_read_attr(object, "fill"); + object->readAttr( "xlink:href"); + object->readAttr( "attributeName"); + object->readAttr( "attributeType"); + object->readAttr( "begin"); + object->readAttr( "dur"); + object->readAttr( "end"); + object->readAttr( "min"); + object->readAttr( "max"); + object->readAttr( "restart"); + object->readAttr( "repeatCount"); + object->readAttr( "repeatDur"); + object->readAttr( "fill"); } static void @@ -176,15 +176,15 @@ sp_ianimation_build(SPObject *object, SPDocument *document, Inkscape::XML::Node if (((SPObjectClass *) ianimation_parent_class)->build) ((SPObjectClass *) ianimation_parent_class)->build(object, document, repr); - sp_object_read_attr(object, "calcMode"); - sp_object_read_attr(object, "values"); - sp_object_read_attr(object, "keyTimes"); - sp_object_read_attr(object, "keySplines"); - sp_object_read_attr(object, "from"); - sp_object_read_attr(object, "to"); - sp_object_read_attr(object, "by"); - sp_object_read_attr(object, "additive"); - sp_object_read_attr(object, "accumulate"); + object->readAttr( "calcMode"); + object->readAttr( "values"); + object->readAttr( "keyTimes"); + object->readAttr( "keySplines"); + object->readAttr( "from"); + object->readAttr( "to"); + object->readAttr( "by"); + object->readAttr( "additive"); + object->readAttr( "accumulate"); } static void -- cgit v1.2.3