summaryrefslogtreecommitdiffstats
path: root/src/box3d-side.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/box3d-side.cpp')
-rw-r--r--src/box3d-side.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/box3d-side.cpp b/src/box3d-side.cpp
index 4bd10e854..fba61e129 100644
--- a/src/box3d-side.cpp
+++ b/src/box3d-side.cpp
@@ -126,11 +126,7 @@ box3d_side_write (SPObject *object, Inkscape::XML::Node *repr, guint flags)
if ( !curve ) {
return NULL;
}
- NArtBpath const *bpath = SP_CURVE_BPATH(curve);
- if ( !bpath ) {
- return NULL;
- }
- char *d = sp_svg_write_path ( bpath );
+ char *d = sp_svg_write_path ( curve->get_pathvector() );
repr->setAttribute("d", d);
g_free (d);