summaryrefslogtreecommitdiffstats
path: root/src/xml
diff options
context:
space:
mode:
Diffstat (limited to 'src/xml')
-rw-r--r--src/xml/repr.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/xml/repr.h b/src/xml/repr.h
index 1b2cad756..1f7f68bf1 100644
--- a/src/xml/repr.h
+++ b/src/xml/repr.h
@@ -143,12 +143,6 @@ inline Inkscape::XML::Node *sp_repr_document_root(Inkscape::XML::Document const
return const_cast<Inkscape::XML::Node *>(doc->root());
}
-/// Returns the node's document.
-inline Inkscape::XML::Document *sp_repr_document(Inkscape::XML::Node const *repr) {
- if (!repr) return NULL;
- return const_cast<Inkscape::XML::Document *>(repr->document());
-}
-
/* Contents */
/// Sets the node's \a key attribute to \a value.
inline unsigned sp_repr_set_attr(Inkscape::XML::Node *repr, gchar const *key, gchar const *value,