summaryrefslogtreecommitdiffstats
path: root/src/sp-shape.cpp
diff options
context:
space:
mode:
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);
}