diff options
Diffstat (limited to 'shell/inc/xml_parser.hxx')
-rw-r--r-- | shell/inc/xml_parser.hxx | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/shell/inc/xml_parser.hxx b/shell/inc/xml_parser.hxx index 37c44781cc5a..e07c860dd699 100644 --- a/shell/inc/xml_parser.hxx +++ b/shell/inc/xml_parser.hxx @@ -26,15 +26,12 @@ class xml_parser_exception final : public std::runtime_error { public: - - xml_parser_exception( - const std::string& error_msg) : - std::runtime_error(error_msg) - {} - + xml_parser_exception(const std::string& error_msg) + : std::runtime_error(error_msg) + { + } }; - // Simple wrapper around expat, the xml parser library // created by James Clark @@ -88,9 +85,9 @@ public: /** Returns the currently used document handler or null if no document handler was set before. */ - i_xml_parser_event_handler* get_document_handler() const { return document_handler_;} -private: + i_xml_parser_event_handler* get_document_handler() const { return document_handler_; } +private: void init(); private: |