summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-06-09 10:09:42 +0200
committerNoel Grandin <noel@peralex.com>2014-06-09 10:10:13 +0200
commit184a00b96235f6432294ded63ce4a4a318effdb5 (patch)
treee4ae0e00cb168fa43d280cfb51a50515258b5320 /shell
parent534015ad4fd08823b4393dab1ad5d42dedd7bf62 (diff)
loplugin: inlinesimplememberfunctions
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
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: */