summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 93ae2f7)
raw | patch | inline | side by side (parent: 93ae2f7)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Fri, 6 Jun 2008 23:04:26 +0000 (23:04 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Fri, 6 Jun 2008 23:04:26 +0000 (23:04 +0000) |
src/box3d-side.cpp | patch | blob | history |
diff --git a/src/box3d-side.cpp b/src/box3d-side.cpp
index 4bd10e854d3c984e0c62f3ca0e6d4e0b16dc55b9..fba61e12914b4bc58714ae0cb9b1cea17577eb4b 100644 (file)
--- a/src/box3d-side.cpp
+++ b/src/box3d-side.cpp
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);