From 403fbc4552822af899d85ba97ada2559eb776ea8 Mon Sep 17 00:00:00 2001 From: Benjamin Paassen Date: Tue, 20 Jan 2015 11:41:24 +0100 Subject: Further work on document validation. More of a finetuning. --- src/core/model/Document.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/core/model/Document.hpp') diff --git a/src/core/model/Document.hpp b/src/core/model/Document.hpp index 4147847..5d5879e 100644 --- a/src/core/model/Document.hpp +++ b/src/core/model/Document.hpp @@ -346,6 +346,9 @@ public: class StructureNode : public Node { friend DocumentEntity; +protected: + bool doValidate(Logger &logger) const override; + public: /** * Constructor for a StructureNode in the StructureTree. @@ -491,6 +494,9 @@ public: * Please refer to the AnnotationEntity documentation for more information. */ class Anchor : public StructureNode { +protected: + bool doValidate(Logger &logger) const override; + public: /** * Constructor for Anchor. -- cgit v1.2.3