summaryrefslogtreecommitdiffstats
path: root/src/sp-offset.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sp-offset.cpp')
-rw-r--r--src/sp-offset.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-offset.cpp b/src/sp-offset.cpp
index 8617c096a..817db92e8 100644
--- a/src/sp-offset.cpp
+++ b/src/sp-offset.cpp
@@ -286,7 +286,7 @@ sp_offset_write(SPObject *object, Inkscape::XML::Document *xml_doc, Inkscape::XM
}
// write that curve to "d"
- char *d = sp_svg_write_path (((SPShape *) offset)->curve->get_pathvector());
+ char *d = sp_svg_write_path (offset->_curve->get_pathvector());
repr->setAttribute("d", d);
g_free (d);