summaryrefslogtreecommitdiff
path: root/src/core/model/Document.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/model/Document.cpp')
-rw-r--r--src/core/model/Document.cpp15
1 files changed, 3 insertions, 12 deletions
diff --git a/src/core/model/Document.cpp b/src/core/model/Document.cpp
index 912a04e..d01fbd6 100644
--- a/src/core/model/Document.cpp
+++ b/src/core/model/Document.cpp
@@ -93,18 +93,9 @@ NodeVector<StructuredEntity> &DocumentEntity::getField(
void Document::continueResolve(ResolutionState &state)
{
- // Try to resolve annotations and other document nodes first
- bool hasResult =
- continueResolveComposita(annotations, annotations.getIndex(), state);
- if (root != nullptr) {
- hasResult = hasResult | continueResolveCompositum(root, state);
- }
-
- // If no direct child has been found, continue resolving the referenced
- // domains
- if (!hasResult) {
- continueResolveReferences(domains, state);
- }
+ continueResolveComposita(annotations, annotations.getIndex(), state);
+ continueResolveCompositum(root, state);
+ continueResolveReferences(domains, state);
}
}