diff options
Diffstat (limited to 'src/formats/osxml')
-rw-r--r-- | src/formats/osxml/OsxmlEventParser.hpp | 7 | ||||
-rw-r--r-- | src/formats/osxml/OsxmlParser.cpp | 4 |
2 files changed, 5 insertions, 6 deletions
diff --git a/src/formats/osxml/OsxmlEventParser.hpp b/src/formats/osxml/OsxmlEventParser.hpp index 4c5a485..888d5d6 100644 --- a/src/formats/osxml/OsxmlEventParser.hpp +++ b/src/formats/osxml/OsxmlEventParser.hpp @@ -81,12 +81,11 @@ public: * @param className is a string variant containing the name of the * annotation class that should end here. May be empty (or nullptr), if no * elementName has been specified at the end of the annotation. - * @param elementName is the name of the annotation element that should be - * ended here. May be empty (or nullptr), if no elementName has been - * specified at the end of the annotation. + * @param args is a map variant containing the arguments that were given + * to the annotation definition. */ virtual void annotationEnd(const Variant &className, - const Variant &elementName) = 0; + const Variant::mapType &args) = 0; /** * Called whenever the command or annotation tags end. diff --git a/src/formats/osxml/OsxmlParser.cpp b/src/formats/osxml/OsxmlParser.cpp index 10cc77a..a9a0ea8 100644 --- a/src/formats/osxml/OsxmlParser.cpp +++ b/src/formats/osxml/OsxmlParser.cpp @@ -79,9 +79,9 @@ public: } void annotationEnd(const Variant &className, - const Variant &elementName) override + const Variant::mapType &args) override { - stack.annotationEnd(className, elementName); + stack.annotationEnd(className, args); } void rangeEnd() override { stack.rangeEnd(); } |