summaryrefslogtreecommitdiffstats
path: root/src/sp-shape.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-07-07 15:48:07 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-07-07 15:48:07 +0000
commit1e4b5d753880e304bcb949677b2156ecc556a820 (patch)
tree3164c1cddd461cc70eae6ad53a7f46f4b89bb60f /src/sp-shape.cpp
parent2geomify more of pencil-context.cpp (diff)
downloadinkscape-1e4b5d753880e304bcb949677b2156ecc556a820.tar.gz
inkscape-1e4b5d753880e304bcb949677b2156ecc556a820.zip
substitute macro with function call
(bzr r6210)
Diffstat (limited to 'src/sp-shape.cpp')
-rw-r--r--src/sp-shape.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp-shape.cpp b/src/sp-shape.cpp
index 308b5a1ba..9a0ee1fd7 100644
--- a/src/sp-shape.cpp
+++ b/src/sp-shape.cpp
@@ -614,13 +614,13 @@ sp_shape_print (SPItem *item, SPPrintContext *ctx)
if (!style->fill.isNone()) {
const_NRBPath bp;
- bp.path = SP_CURVE_BPATH(shape->curve);
+ bp.path = shape->curve->get_bpath();
sp_print_fill (ctx, &bp, &i2d, style, &pbox, &dbox, &bbox);
}
if (!style->stroke.isNone()) {
const_NRBPath bp;
- bp.path = SP_CURVE_BPATH(shape->curve);
+ bp.path = shape->curve->get_bpath();
sp_print_stroke (ctx, &bp, &i2d, style, &pbox, &dbox, &bbox);
}