summaryrefslogtreecommitdiffstats
path: root/src/attribute-rel-util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/attribute-rel-util.cpp')
-rw-r--r--src/attribute-rel-util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/attribute-rel-util.cpp b/src/attribute-rel-util.cpp
index 49b6fd73e..239e359e2 100644
--- a/src/attribute-rel-util.cpp
+++ b/src/attribute-rel-util.cpp
@@ -75,7 +75,7 @@ void sp_attribute_clean_recursive(Node *repr, unsigned int flags) {
}
}
- for(Node *child=sp_repr_children( repr ) ; child ; child = sp_repr_next( child ) ) {
+ for(Node *child=repr->firstChild() ; child ; child = child->next()) {
sp_attribute_clean_recursive( child, flags );
}
}