From: johanengelen Date: Mon, 7 Jul 2008 15:48:07 +0000 (+0000) Subject: substitute macro with function call X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a950d99f377922f93d802d8ad56fa93290581660;p=inkscape.git substitute macro with function call --- 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); }