summaryrefslogtreecommitdiffstats
path: root/src/xml/repr-util.cpp
diff options
context:
space:
mode:
authorMarkus Engel <markus.engel@tum.de>2013-04-27 22:15:27 +0000
committerMarkus Engel <markus.engel@tum.de>2013-04-27 22:15:27 +0000
commit1963c876e1df4780d41252de325e8b19e0cedc3a (patch)
tree0225d228c850bb8d9be7f7fb74bd9addfa1fcd9a /src/xml/repr-util.cpp
parentvarious changes (diff)
parentmodify bbox width for Blur filter in Fill & Stroke (Bug 1171208) (diff)
downloadinkscape-1963c876e1df4780d41252de325e8b19e0cedc3a.tar.gz
inkscape-1963c876e1df4780d41252de325e8b19e0cedc3a.zip
Merged from trunk (r12305)
(bzr r11608.1.106)
Diffstat (limited to 'src/xml/repr-util.cpp')
-rw-r--r--src/xml/repr-util.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xml/repr-util.cpp b/src/xml/repr-util.cpp
index 6ea20b87a..8c8425de0 100644
--- a/src/xml/repr-util.cpp
+++ b/src/xml/repr-util.cpp
@@ -524,6 +524,8 @@ unsigned int sp_repr_get_point(Inkscape::XML::Node *repr, gchar const *key, Geom
gchar const *v = repr->attribute(key);
+ g_return_val_if_fail(v != NULL, FALSE);
+
gchar ** strarray = g_strsplit(v, ",", 2);
if (strarray && strarray[0] && strarray[1]) {