Code

clean up matrix transform svg-write function
authorjohanengelen <johanengelen@users.sourceforge.net>
Mon, 7 Jul 2008 08:17:51 +0000 (08:17 +0000)
committerjohanengelen <johanengelen@users.sourceforge.net>
Mon, 7 Jul 2008 08:17:51 +0000 (08:17 +0000)
src/svg/svg-affine.cpp

index 0ad54accd66dfa2bc557500a282956d88ba2aea0..0c40a7119d5dea3f82f4fa4a6a5edaf9403cc96f 100644 (file)
@@ -177,8 +177,7 @@ sp_svg_transform_read(gchar const *str, NR::Matrix *transform)
 gchar *
 sp_svg_transform_write(Geom::Matrix const &transform)
 {
-    Geom::Matrix const t(transform);
-    return sp_svg_transform_write(&t);
+    return sp_svg_transform_write(&transform);
 }