Code

substitute macro with function call
authorjohanengelen <johanengelen@users.sourceforge.net>
Mon, 7 Jul 2008 15:48:07 +0000 (15:48 +0000)
committerjohanengelen <johanengelen@users.sourceforge.net>
Mon, 7 Jul 2008 15:48:07 +0000 (15:48 +0000)
src/sp-shape.cpp

index 308b5a1ba0cacc68cd36749522db6052712817c7..9a0ee1fd7b203257fdef23c4e5b5d24f01ff4fca 100644 (file)
@@ -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);
     }