diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-05-05 19:00:20 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-05-05 19:00:20 +0000 |
| commit | d955f60393f4f85b0269346f37b4481a1c70205a (patch) | |
| tree | 2dd9a11fe737c4a43c8aa88451acd3c8f766fff2 /src/extension | |
| parent | Cmake: Moved helper macros to their own file and removed *-test.h from inksca... (diff) | |
| download | inkscape-d955f60393f4f85b0269346f37b4481a1c70205a.tar.gz inkscape-d955f60393f4f85b0269346f37b4481a1c70205a.zip | |
struct SPCurve => class SPCurve
change all sp_curve_methods functions to SPCurve::methods.
(bzr r5609)
Diffstat (limited to 'src/extension')
| -rw-r--r-- | src/extension/internal/odf.cpp | 2 | ||||
| -rw-r--r-- | src/extension/internal/pov-out.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/extension/internal/odf.cpp b/src/extension/internal/odf.cpp index 3123faebb..dd2bcb42c 100644 --- a/src/extension/internal/odf.cpp +++ b/src/extension/internal/odf.cpp @@ -2060,7 +2060,7 @@ bool OdfOutput::writeTree(Writer &couts, Writer &souts, couts.printf("</draw:path>\n\n"); - sp_curve_unref(curve); + curve->unref(); } return true; diff --git a/src/extension/internal/pov-out.cpp b/src/extension/internal/pov-out.cpp index dbfb52676..0f04c6a1a 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++; |
