summaryrefslogtreecommitdiffstats
path: root/src/extension/internal/pov-out.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2012-01-17 22:30:48 +0000
committerJohan Engelen <goejendaagh@zonnet.nl>2012-01-17 22:30:48 +0000
commitd97dcb5d03fa3e063c597788fa7f2c766ae5916e (patch)
tree471f294f631eca82850a50a6f281b71cc26f195b /src/extension/internal/pov-out.cpp
parentdocumentation (diff)
downloadinkscape-d97dcb5d03fa3e063c597788fa7f2c766ae5916e.tar.gz
inkscape-d97dcb5d03fa3e063c597788fa7f2c766ae5916e.zip
add underscores to some member variables.
add some const stuff (bzr r10900)
Diffstat (limited to 'src/extension/internal/pov-out.cpp')
-rw-r--r--src/extension/internal/pov-out.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/extension/internal/pov-out.cpp b/src/extension/internal/pov-out.cpp
index bb00de619..f501b97f1 100644
--- a/src/extension/internal/pov-out.cpp
+++ b/src/extension/internal/pov-out.cpp
@@ -264,9 +264,9 @@ bool PovOutput::doCurve(SPItem *item, const String &id)
return true;
SPShape *shape = SP_SHAPE(item);
- SPCurve *curve = shape->curve;
- if (curve->is_empty())
+ if (shape->_curve->is_empty()) {
return true;
+ }
nrShapes++;
@@ -302,7 +302,7 @@ bool PovOutput::doCurve(SPItem *item, const String &id)
// convert the path to only lineto's and cubic curveto's:
Geom::Affine tf = item->i2dt_affine();
- Geom::PathVector pathv = pathv_to_linear_and_cubic_beziers( curve->get_pathvector() * tf );
+ Geom::PathVector pathv = pathv_to_linear_and_cubic_beziers( shape->_curve->get_pathvector() * tf );
/*
* We need to know the number of segments (NR_CURVETOs/LINETOs, including