diff options
Diffstat (limited to 'src/sp-star.cpp')
| -rw-r--r-- | src/sp-star.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/sp-star.cpp b/src/sp-star.cpp index 8ea10f52b..e0f05d0f4 100644 --- a/src/sp-star.cpp +++ b/src/sp-star.cpp @@ -146,7 +146,7 @@ sp_star_write (SPObject *object, Inkscape::XML::Document *xml_doc, Inkscape::XML } sp_star_set_shape ((SPShape *) star); - char *d = sp_svg_write_path (((SPShape *) star)->curve->get_pathvector()); + char *d = sp_svg_write_path (star->_curve->get_pathvector()); repr->setAttribute("d", d); g_free (d); @@ -277,8 +277,8 @@ sp_star_update_patheffect(SPLPEItem *lpeitem, bool write) if (write) { Inkscape::XML::Node *repr = shape->getRepr(); - if ( shape->curve != NULL ) { - gchar *str = sp_svg_write_path(shape->curve->get_pathvector()); + if ( shape->_curve != NULL ) { + gchar *str = sp_svg_write_path(shape->_curve->get_pathvector()); repr->setAttribute("d", str); g_free(str); } else { |
