X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=inline;f=src%2Fsp-use-reference.cpp;h=5b5011381a41fd18758d3bd9a6e3bdd30a41589c;hb=b2e46b1363564aa72394ee2feb6a5a6cb49194a5;hp=1474a43a9fefe477543f494769b8c786b60c3983;hpb=66632b492f9cd54e5667fd4e1fca8e457f59b282;p=inkscape.git diff --git a/src/sp-use-reference.cpp b/src/sp-use-reference.cpp index 1474a43a9..5b5011381 100644 --- a/src/sp-use-reference.cpp +++ b/src/sp-use-reference.cpp @@ -231,8 +231,8 @@ void SPUsePath::refresh_source() } } originalPath = new Path; - originalPath->LoadArtBPath(SP_CURVE_BPATH(curve), NR::Matrix(item->transform), true); - sp_curve_unref(curve); + originalPath->LoadPathVector(curve->get_pathvector(), to_2geom(item->transform), true); + curve->unref(); }