Code

SPShape c++ified to the extent it was possible and more changes done for XML privatis...
[inkscape.git] / src / ui / tool / path-manipulator.cpp
index ba82b810bc42d70f512956bbc005c12de1346e4c..f102be1f73c34e93e2684439529dcf7032badc59 100644 (file)
@@ -1250,7 +1250,7 @@ void PathManipulator::_setGeometry()
         if (_path->getRepr()->attribute("inkscape:original-d"))
             sp_path_set_original_curve(_path, _spcurve, false, false);
         else
-            sp_shape_set_curve(SP_SHAPE(_path), _spcurve, false);
+            SP_SHAPE(_path)->setCurve(_spcurve, false);
     }
 }