From a170926b2f9891f11f5fdcbaaf9d4ddadbb5c7d2 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Fri, 4 Jul 2008 20:36:10 +0000 Subject: change some SP_CURVE_BPATH to get_bpath (bzr r6155) --- src/extension/internal/odf.cpp | 2 +- src/extension/internal/pov-out.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/extension') 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 ; curveNrcode == 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; -- cgit v1.2.3