diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2018-09-11 14:29:13 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marc@jeanmougin.fr> | 2018-09-11 14:29:13 +0000 |
| commit | a4530a981342d92a0a5226a87734753d60d56f93 (patch) | |
| tree | 06a932cfcd4b0ee2bc0c933e3670d7943e8a1803 /src/xml/node-fns.cpp | |
| parent | Fix bug 1684238 (diff) | |
| download | inkscape-a4530a981342d92a0a5226a87734753d60d56f93.tar.gz inkscape-a4530a981342d92a0a5226a87734753d60d56f93.zip | |
Make XML tree a double-linked-list (significant improvement on previous node lookup)
Diffstat (limited to 'src/xml/node-fns.cpp')
| -rw-r--r-- | src/xml/node-fns.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xml/node-fns.cpp b/src/xml/node-fns.cpp index 18b12075d..938d36281 100644 --- a/src/xml/node-fns.cpp +++ b/src/xml/node-fns.cpp @@ -59,6 +59,7 @@ struct node_matches { // documentation moved to header Node *previous_node(Node *node) { + return node->prev(); using Inkscape::Algorithms::find_if_before; if ( !node || !node->parent() ) { |
