summaryrefslogtreecommitdiffstats
path: root/src/dialogs/xml-tree.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/dialogs/xml-tree.cpp')
-rw-r--r--src/dialogs/xml-tree.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dialogs/xml-tree.cpp b/src/dialogs/xml-tree.cpp
index d25bdad72..ddb419dcd 100644
--- a/src/dialogs/xml-tree.cpp
+++ b/src/dialogs/xml-tree.cpp
@@ -1602,7 +1602,7 @@ bool in_dt_coordsys(SPObject const &item)
if (!SP_IS_ITEM(child)) {
return false;
}
- SPObject const * const parent = SP_OBJECT_PARENT(child);
+ SPObject const * const parent = child->parent;
if (parent == NULL) {
break;
}