summaryrefslogtreecommitdiffstats
path: root/src/path-chemistry.cpp
diff options
context:
space:
mode:
authorMenTaLguY <mental@rydia.net>2008-05-08 13:05:51 +0000
committermental <mental@users.sourceforge.net>2008-05-08 13:05:51 +0000
commit8b71ee28d6d834eacf8853822b7c667f5c8eb21f (patch)
tree0a9db9f3c5fc645f4d9a2746f1d020882cd5db33 /src/path-chemistry.cpp
parentset eol-style:native for newly added files (diff)
downloadinkscape-8b71ee28d6d834eacf8853822b7c667f5c8eb21f.tar.gz
inkscape-8b71ee28d6d834eacf8853822b7c667f5c8eb21f.zip
merge inline patch from Jimmy
(bzr r5631)
Diffstat (limited to 'src/path-chemistry.cpp')
-rw-r--r--src/path-chemistry.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/path-chemistry.cpp b/src/path-chemistry.cpp
index b6567a012..d43d950fb 100644
--- a/src/path-chemistry.cpp
+++ b/src/path-chemistry.cpp
@@ -462,8 +462,8 @@ sp_selected_item_to_curved_repr(SPItem *item, guint32 /*text_grouping_policy*/)
repr->setAttribute("clip-path", clip_path_str);
/* Rotation center */
- sp_repr_set_attr(repr, "inkscape:transform-center-x", SP_OBJECT_REPR(item)->attribute("inkscape:transform-center-x"));
- sp_repr_set_attr(repr, "inkscape:transform-center-y", SP_OBJECT_REPR(item)->attribute("inkscape:transform-center-y"));
+ repr->setAttribute("inkscape:transform-center-x", SP_OBJECT_REPR(item)->attribute("inkscape:transform-center-x"), false);
+ repr->setAttribute("inkscape:transform-center-y", SP_OBJECT_REPR(item)->attribute("inkscape:transform-center-y"), false);
/* Definition */
gchar *def_str = sp_svg_write_path(SP_CURVE_BPATH(curve));