diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-01-09 15:42:39 +0100 |
---|---|---|
committer | Andreas Stöckel <andreas@somweyr.de> | 2015-01-09 15:42:39 +0100 |
commit | d4e59364e7370938c38173cbbf232da31b69b9f1 (patch) | |
tree | 23ca66c689949880c92fc5137038d4b60c6a7ac2 | |
parent | aaa708a9d953c499e0547a3142870833646adab1 (diff) |
fixed Document::continueResolve nullptr access
-rw-r--r-- | src/core/model/Document.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/model/Document.cpp b/src/core/model/Document.cpp index d01fbd6..bed65c9 100644 --- a/src/core/model/Document.cpp +++ b/src/core/model/Document.cpp @@ -94,7 +94,9 @@ NodeVector<StructuredEntity> &DocumentEntity::getField( void Document::continueResolve(ResolutionState &state) { continueResolveComposita(annotations, annotations.getIndex(), state); - continueResolveCompositum(root, state); + if (root != nullptr) { + continueResolveCompositum(root, state); + } continueResolveReferences(domains, state); } } |