index 3d5a795c7cc8140cc1a3bfb7d7cad07d38774d05..f180dc661198402a8e5a0281457b73cde121dee1 100644 (file)
--- a/src/filter-chemistry.cpp
+++ b/src/filter-chemistry.cpp
i ++;
}
- for (SPObject *child = sp_object_first_child(o);
+ for (SPObject *child = o->first_child();
child != NULL; child = SP_OBJECT_NEXT(child)) {
i += count_filter_hrefs(child, filter);
}