Code

a couple of trivial %d -> %u changes.
[inkscape.git] / src / extension / internal / pov-out.cpp
index dbfb5267646bc6938556ad31a2f5c34232f0b4c3..6dd62206c20402ce101af71d7315ff91637ced89 100644 (file)
@@ -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 ; curveNr<curveLength ; curveNr++, bp++)
             if (bp->code == NR_CURVETO || bp->code == NR_LINETO)
                 segmentCount++;