Code

replace separate forward declarations by proper forward.h inclusion
[inkscape.git] / src / xml / repr-util.cpp
index 193c1125c631015dd60069127199405cadece0ad..59563a7fc754f8a6d9c3a55b67a30b1aac283ffa 100644 (file)
@@ -29,7 +29,7 @@
 
 
 #include <glib.h>
-
+#include <2geom/point.h>
 #include "svg/stringstream.h"
 #include "svg/css-ostringstream.h"
 
@@ -592,7 +592,7 @@ sp_repr_set_svg_double(Inkscape::XML::Node *repr, gchar const *key, double val)
     return true;
 }
 
-unsigned sp_repr_set_point(Inkscape::XML::Node *repr, gchar const *key, Geom::Point val)
+unsigned sp_repr_set_point(Inkscape::XML::Node *repr, gchar const *key, Geom::Point const & val)
 {
     g_return_val_if_fail(repr != NULL, FALSE);
     g_return_val_if_fail(key != NULL, FALSE);