diff options
Diffstat (limited to 'src/xml/repr-util.cpp')
| -rw-r--r-- | src/xml/repr-util.cpp | 4 |
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); |
