From 48e6b0819d64e02bd43c199c9afa12f26a485323 Mon Sep 17 00:00:00 2001 From: MenTaLguY Date: Tue, 9 May 2006 03:52:58 +0000 Subject: eliminate direct accesses to SPCurve::bpath (bzr r787) --- src/splivarot.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/splivarot.cpp') diff --git a/src/splivarot.cpp b/src/splivarot.cpp index c5969576e..eeb82970b 100644 --- a/src/splivarot.cpp +++ b/src/splivarot.cpp @@ -1491,19 +1491,19 @@ Path_for_item(SPItem *item, bool doTransformation, bool transformFull) if (!curve) return NULL; - NArtBpath *bpath = curve->bpath; + NArtBpath *bpath = SP_CURVE_BPATH(curve); if (bpath == NULL) return NULL; if ( doTransformation ) { if (transformFull) - bpath = nr_artpath_affine(curve->bpath, sp_item_i2doc_affine(item)); + bpath = nr_artpath_affine(SP_CURVE_BPATH(curve), sp_item_i2doc_affine(item)); else - bpath = nr_artpath_affine(curve->bpath, item->transform); + bpath = nr_artpath_affine(SP_CURVE_BPATH(curve), item->transform); sp_curve_unref(curve); curve=NULL; } else { - bpath=curve->bpath; + bpath=SP_CURVE_BPATH(curve); } Path *dest = new Path; -- cgit v1.2.3