summaryrefslogtreecommitdiffstats
path: root/src/extension
diff options
context:
space:
mode:
Diffstat (limited to 'src/extension')
-rw-r--r--src/extension/internal/odf.cpp2
-rw-r--r--src/extension/internal/pov-out.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/extension/internal/odf.cpp b/src/extension/internal/odf.cpp
index 33242b09e..4efebdafd 100644
--- a/src/extension/internal/odf.cpp
+++ b/src/extension/internal/odf.cpp
@@ -2050,7 +2050,7 @@ bool OdfOutput::writeTree(Writer &couts, Writer &souts,
bbox_width * 1000.0, bbox_height * 1000.0);
couts.printf(" svg:d=\"");
- int nrPoints = writePath(couts, SP_CURVE_BPATH(curve),
+ int nrPoints = writePath(couts, curve->get_bpath(),
tf, bbox_x, bbox_y);
couts.printf("\"");
diff --git a/src/extension/internal/pov-out.cpp b/src/extension/internal/pov-out.cpp
index 8d701b28e..bfbb0e4d4 100644
--- a/src/extension/internal/pov-out.cpp
+++ b/src/extension/internal/pov-out.cpp
@@ -331,7 +331,7 @@ void PovOutput::doCurves(SPDocument *doc)
//Count the NR_CURVETOs/LINETOs
int segmentCount=0;
- NArtBpath const *bp = SP_CURVE_BPATH(curve);
+ NArtBpath const *bp = curve->get_bpath();
for (int curveNr=0 ; curveNr<curveLength ; curveNr++, bp++)
if (bp->code == NR_CURVETO || bp->code == NR_LINETO)
segmentCount++;
@@ -353,7 +353,7 @@ void PovOutput::doCurves(SPDocument *doc)
out(" 0.0, //bottom\n");
out(" %d //nr points\n", segmentCount * 4);
int segmentNr = 0;
- bp = SP_CURVE_BPATH(curve);
+ bp = curve->get_bpath();
nrSegments += curveLength;