summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core/model/Document.hpp2
-rw-r--r--src/plugins/xml/XmlOutput.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/model/Document.hpp b/src/core/model/Document.hpp
index 6b2ae47..48a291f 100644
--- a/src/core/model/Document.hpp
+++ b/src/core/model/Document.hpp
@@ -1023,7 +1023,7 @@ public:
* @return a const reference to the NodeVector of ontologies that are used
* within this Document.
*/
- const NodeVector<Ontology> &getOntologys() const { return ontologies; }
+ const NodeVector<Ontology> &getOntologies() const { return ontologies; }
/**
* Adds a Ontology reference to this Document.
diff --git a/src/plugins/xml/XmlOutput.cpp b/src/plugins/xml/XmlOutput.cpp
index ffdecab..bf5897b 100644
--- a/src/plugins/xml/XmlOutput.cpp
+++ b/src/plugins/xml/XmlOutput.cpp
@@ -52,7 +52,7 @@ void XmlTransformer::writeXml(Handle<Document> doc, std::ostream &out,
// the outermost tag is the document itself.
Rooted<Element> document{new Element{mgr, {nullptr}, "document"}};
// write imports for all referenced ontologies.
- for (auto d : doc->getOntologys()) {
+ for (auto d : doc->getOntologies()) {
Rooted<Element> import =
createImportElement(document, d, resourceManager, "ontology");
if (import != nullptr) {