From 184a00b96235f6432294ded63ce4a4a318effdb5 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 9 Jun 2014 10:09:42 +0200 Subject: loplugin: inlinesimplememberfunctions Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b --- shell/inc/internal/xml_parser.hxx | 2 +- shell/source/all/xml_parser.cxx | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'shell') 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: */ -- cgit