summaryrefslogtreecommitdiffstats
path: root/src/sp-offset.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-06-06 23:38:47 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-06-06 23:38:47 +0000
commit81af8b4eb52cd235f83841d140c221b2a1add77a (patch)
treeba617df7377e8fa392a247346d564e47c95ef917 /src/sp-offset.cpp
parentfor path-chemistry.cpp, start using 2geompath for svg_write: sp_svg_write_pat... (diff)
downloadinkscape-81af8b4eb52cd235f83841d140c221b2a1add77a.tar.gz
inkscape-81af8b4eb52cd235f83841d140c221b2a1add77a.zip
for sp-offset.cpp and sp-star.cpp, start using 2geompath for svg_write: sp_svg_write_path(np->curve->get_pathvector() );
(bzr r5842)
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 5ff01814f..f3c5cfada 100644
--- a/src/sp-offset.cpp
+++ b/src/sp-offset.cpp
@@ -287,7 +287,7 @@ sp_offset_write(SPObject *object, Inkscape::XML::Node *repr, guint flags)
}
// write that curve to "d"
- char *d = sp_svg_write_path (SP_CURVE_BPATH(((SPShape *) offset)->curve));
+ char *d = sp_svg_write_path (((SPShape *) offset)->curve->get_pathvector());
repr->setAttribute("d", d);
g_free (d);