Code

SPObject c++ification finalized along with the beginning of XML Privatisation tweaks
[inkscape.git] / src / persp3d.cpp
index 4b2e55b9d250fc9f7562490a5085fa583dc5503b..60bfa765aa9a9517a033497b15d061d9b6d56a32 100644 (file)
@@ -116,10 +116,10 @@ static void persp3d_build(SPObject *object, SPDocument *document, Inkscape::XML:
 
     /* calls sp_object_set for the respective attributes */
     // The transformation matrix is updated according to the values we read for the VPs
-    sp_object_read_attr(object, "inkscape:vp_x");
-    sp_object_read_attr(object, "inkscape:vp_y");
-    sp_object_read_attr(object, "inkscape:vp_z");
-    sp_object_read_attr(object, "inkscape:persp3d-origin");
+    object->readAttr( "inkscape:vp_x");
+    object->readAttr( "inkscape:vp_y");
+    object->readAttr( "inkscape:vp_z");
+    object->readAttr( "inkscape:persp3d-origin");
 
     if (repr) {
         repr->addListener (&persp3d_repr_events, object);