X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=src%2Fextension%2Finternal%2Fpov-out.cpp;h=6dd62206c20402ce101af71d7315ff91637ced89;hb=db3d7e286956ffa1408807197971d5277eea3b31;hp=dbfb5267646bc6938556ad31a2f5c34232f0b4c3;hpb=50265120fc5916ca13a60a6ec5050e6f12442ed1;p=inkscape.git diff --git a/src/extension/internal/pov-out.cpp b/src/extension/internal/pov-out.cpp index dbfb52676..6dd62206c 100644 --- a/src/extension/internal/pov-out.cpp +++ b/src/extension/internal/pov-out.cpp @@ -294,7 +294,7 @@ void PovOutput::doCurves(SPDocument *doc) SPShape *shape = SP_SHAPE(reprobj); SPCurve *curve = shape->curve; - if (sp_curve_empty(curve)) + if (curve->is_empty()) continue; nrShapes++; @@ -330,7 +330,7 @@ void PovOutput::doCurves(SPDocument *doc) //Count the NR_CURVETOs/LINETOs int segmentCount=0; - NArtBpath *bp = SP_CURVE_BPATH(curve); + NArtBpath const *bp = SP_CURVE_BPATH(curve); for (int curveNr=0 ; curveNrcode == NR_CURVETO || bp->code == NR_LINETO) segmentCount++;