summaryrefslogtreecommitdiffstats
path: root/src/xml/repr-util.cpp
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2012-01-11 21:06:52 +0000
committerKris <Kris.De.Gussem@hotmail.com>2012-01-11 21:06:52 +0000
commit793f5a82fbda55a2f37d2f432a9ce37f1c801c1c (patch)
tree16603190d14046976505ce6acf5c449c687e0660 /src/xml/repr-util.cpp
parentPowerstroke: fix crashers (diff)
downloadinkscape-793f5a82fbda55a2f37d2f432a9ce37f1c801c1c.tar.gz
inkscape-793f5a82fbda55a2f37d2f432a9ce37f1c801c1c.zip
Dropped deprecated function sp_repr_get_int_attribute
(bzr r10871)
Diffstat (limited to 'src/xml/repr-util.cpp')
-rw-r--r--src/xml/repr-util.cpp28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/xml/repr-util.cpp b/src/xml/repr-util.cpp
index 1e2449404..6899e77ee 100644
--- a/src/xml/repr-util.cpp
+++ b/src/xml/repr-util.cpp
@@ -312,34 +312,6 @@ gchar const *sp_xml_ns_prefix_uri(gchar const *prefix)
return uri;
}
-/*double sp_repr_get_double_attribute(Inkscape::XML::Node *repr, char const *key, double def)
-{
- char *result;
-
- g_return_val_if_fail(repr != NULL, def);
- g_return_val_if_fail(key != NULL, def);
-
- result = (char *) repr->attribute(key);
-
- if (result == NULL) return def;
-
- return g_ascii_strtod(result, NULL);
-}*/
-
-long long int sp_repr_get_int_attribute(Inkscape::XML::Node *repr, char const *key, long long int def)
-{
- char *result;
-
- g_return_val_if_fail(repr != NULL, def);
- g_return_val_if_fail(key != NULL, def);
-
- result = (char *) repr->attribute(key);
-
- if (result == NULL) return def;
-
- return atoll(result);
-}
-
/**
* Works for different-parent objects, so long as they have a common ancestor. Return value:
* 0 positions are equivalent