Code

eliminate direct accesses to SPCurve::bpath
[inkscape.git] / src / display / canvas-bpath.cpp
index d85f777857147b70991852d9ac8cd8ead54856d1..a9285f95234aa9cc1ff7d7893959a3472c67cda2 100644 (file)
@@ -140,7 +140,7 @@ sp_canvas_bpath_update (SPCanvasItem *item, NR::Matrix const &affine, unsigned i
 
     if ((cbp->fill_rgba & 0xff) || (cbp->stroke_rgba & 0xff)) {
        Path*  thePath=new Path;
-       thePath->LoadArtBPath(cbp->curve->bpath, affine, true);
+       thePath->LoadArtBPath(SP_CANVAS_BPATH(cbp->curve), affine, true);
        thePath->Convert(0.25);
        if ((cbp->fill_rgba & 0xff) && (cbp->curve->end > 2)) {
            Shape* theShape=new Shape;