summaryrefslogtreecommitdiffstats
path: root/src/splivarot.cpp
diff options
context:
space:
mode:
authorMenTaLguY <mental@rydia.net>2006-05-09 03:52:58 +0000
committermental <mental@users.sourceforge.net>2006-05-09 03:52:58 +0000
commit48e6b0819d64e02bd43c199c9afa12f26a485323 (patch)
tree9e7ef9cdd55a75cf222d513f91317d87e02d090f /src/splivarot.cpp
parentpartial GTKmmfication and HIGification by Jonathon Jongsma (diff)
downloadinkscape-48e6b0819d64e02bd43c199c9afa12f26a485323.tar.gz
inkscape-48e6b0819d64e02bd43c199c9afa12f26a485323.zip
eliminate direct accesses to SPCurve::bpath
(bzr r787)
Diffstat (limited to 'src/splivarot.cpp')
-rw-r--r--src/splivarot.cpp8
1 files changed, 4 insertions, 4 deletions
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;