From cf7bcd2af286d205a70eb9d1ec5e4b77fb6d2f19 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Tue, 17 Jan 2012 21:25:50 +0100 Subject: turn SPPath into a class, and add some methods... (bzr r10897) --- src/ui/tool/path-manipulator.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui/tool/path-manipulator.cpp') diff --git a/src/ui/tool/path-manipulator.cpp b/src/ui/tool/path-manipulator.cpp index 826c3d818..c2eca5f75 100644 --- a/src/ui/tool/path-manipulator.cpp +++ b/src/ui/tool/path-manipulator.cpp @@ -1295,7 +1295,7 @@ void PathManipulator::_getGeometry() } } else { _spcurve->unref(); - _spcurve = sp_path_get_curve_for_edit(_path); + _spcurve = _path->get_curve_for_edit(); } } @@ -1318,7 +1318,7 @@ void PathManipulator::_setGeometry() } else { //XML Tree being used here directly while it shouldn't be. if (_path->getRepr()->attribute("inkscape:original-d")) - sp_path_set_original_curve(_path, _spcurve, false, false); + _path->set_original_curve(_spcurve, false, false); else SP_SHAPE(_path)->setCurve(_spcurve, false); } -- cgit v1.2.3