From 6227adfe37b1980c068fea89a47794974ae64dd9 Mon Sep 17 00:00:00 2001 From: Andreas Stöckel Date: Wed, 4 Mar 2015 21:08:13 +0100 Subject: Fix typo --- src/core/model/Document.hpp | 2 +- src/plugins/xml/XmlOutput.cpp | 2 +- 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 &getOntologys() const { return ontologies; } + const NodeVector &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 doc, std::ostream &out, // the outermost tag is the document itself. Rooted document{new Element{mgr, {nullptr}, "document"}}; // write imports for all referenced ontologies. - for (auto d : doc->getOntologys()) { + for (auto d : doc->getOntologies()) { Rooted import = createImportElement(document, d, resourceManager, "ontology"); if (import != nullptr) { -- cgit v1.2.3