diff options
author | Andreas Stöckel <astoecke@techfak.uni-bielefeld.de> | 2015-03-04 21:08:13 +0100 |
---|---|---|
committer | Andreas Stöckel <andreas@somweyr.de> | 2015-03-04 21:08:13 +0100 |
commit | 6227adfe37b1980c068fea89a47794974ae64dd9 (patch) | |
tree | c344ac807ff2bcd204e77b4bf1c7420b4bf5063a | |
parent | c0103d1ca8fa787c213adfcc10e001028583d20a (diff) |
Fix typo
-rw-r--r-- | src/core/model/Document.hpp | 2 | ||||
-rw-r--r-- | 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<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) { |