summaryrefslogtreecommitdiffstats
path: root/src/xml/repr-util.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-07-07 20:23:57 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-07-07 20:23:57 +0000
commit755f2f762f364c864fa5fb2410a800d48dc23485 (patch)
treea259a95e5e6d3f4ab79fe9e8dc001f97dd183f8c /src/xml/repr-util.cpp
parentcleanup unused methods in spcurve (diff)
downloadinkscape-755f2f762f364c864fa5fb2410a800d48dc23485.tar.gz
inkscape-755f2f762f364c864fa5fb2410a800d48dc23485.zip
replace separate forward declarations by proper forward.h inclusion
(bzr r6214)
Diffstat (limited to 'src/xml/repr-util.cpp')
-rw-r--r--src/xml/repr-util.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xml/repr-util.cpp b/src/xml/repr-util.cpp
index 193c1125c..59563a7fc 100644
--- a/src/xml/repr-util.cpp
+++ b/src/xml/repr-util.cpp
@@ -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);