Code

SPObject c++ification finalized along with the beginning of XML Privatisation tweaks
[inkscape.git] / src / live_effects / lpeobject.cpp
index aa916318d8da70ab7586da2aa859837d5194633c..a77b9817a84494e6b60a1e49d540f4fd1b42530b 100644 (file)
@@ -104,7 +104,7 @@ LivePathEffectObject::livepatheffect_build(SPObject *object, SPDocument *documen
     if (((SPObjectClass *) livepatheffect_parent_class)->build)
         (* ((SPObjectClass *) livepatheffect_parent_class)->build)(object, document, repr);
 
-    sp_object_read_attr(object, "effect");
+    object->readAttr( "effect");
 
     if (repr) {
         repr->addListener (&livepatheffect_repr_events, object);