summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/inc/internal/xml_parser.hxx2
-rw-r--r--shell/source/all/xml_parser.cxx4
2 files changed, 1 insertions, 5 deletions
diff --git a/shell/inc/internal/xml_parser.hxx b/shell/inc/internal/xml_parser.hxx
index 80083b105843..7dc51c79a355 100644
--- a/shell/inc/internal/xml_parser.hxx
+++ b/shell/inc/internal/xml_parser.hxx
@@ -102,7 +102,7 @@ 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;
+ i_xml_parser_event_handler* get_document_handler() const { return document_handler_;}
private:
void init();
diff --git a/shell/source/all/xml_parser.cxx b/shell/source/all/xml_parser.cxx
index e88abf63ee32..4821111c1da0 100644
--- a/shell/source/all/xml_parser.cxx
+++ b/shell/source/all/xml_parser.cxx
@@ -192,9 +192,5 @@ void xml_parser::set_document_handler(
document_handler_ = event_handler;
}
-i_xml_parser_event_handler* xml_parser::get_document_handler() const
-{
- return document_handler_;
-}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */