summaryrefslogtreecommitdiffstats
path: root/src/sp-star.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-star.cpp')
-rw-r--r--src/sp-star.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-star.cpp b/src/sp-star.cpp
index 4c5f9623b..6543a9866 100644
--- a/src/sp-star.cpp
+++ b/src/sp-star.cpp
@@ -285,7 +285,7 @@ sp_star_update_patheffect(SPLPEItem *lpeitem, bool write)
if (write) {
Inkscape::XML::Node *repr = SP_OBJECT_REPR(shape);
if ( shape->curve != NULL ) {
- NArtBpath *abp = shape->curve->first_bpath();
+ NArtBpath const * abp = shape->curve->get_bpath();
if (abp) {
gchar *str = sp_svg_write_path(abp);
repr->setAttribute("d", str);