From 3e82897353e576dc6e3fbf55371fda5a0c3415df Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 12 Jun 2014 14:06:28 +0200 Subject: improve the inlinesimplememberfunctions clang plugin Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e --- xmloff/source/text/XMLTextListBlockContext.cxx | 8 -------- xmloff/source/text/XMLTextListBlockContext.hxx | 4 ++-- xmloff/source/text/txtlists.cxx | 8 -------- 3 files changed, 2 insertions(+), 18 deletions(-) (limited to 'xmloff/source/text') diff --git a/xmloff/source/text/XMLTextListBlockContext.cxx b/xmloff/source/text/XMLTextListBlockContext.cxx index 9e6c716ff564..ec0c91872198 100644 --- a/xmloff/source/text/XMLTextListBlockContext.cxx +++ b/xmloff/source/text/XMLTextListBlockContext.cxx @@ -282,14 +282,6 @@ SvXMLImportContext *XMLTextListBlockContext::CreateChildContext( return pContext; } -const OUString& XMLTextListBlockContext::GetListId() const -{ - return msListId; -} -const OUString& XMLTextListBlockContext::GetContinueListId() const -{ - return msContinueListId; -} /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/xmloff/source/text/XMLTextListBlockContext.hxx b/xmloff/source/text/XMLTextListBlockContext.hxx index 21530e891698..27961782f28c 100644 --- a/xmloff/source/text/XMLTextListBlockContext.hxx +++ b/xmloff/source/text/XMLTextListBlockContext.hxx @@ -78,8 +78,8 @@ public: ::com::sun::star::container::XIndexReplace >& GetNumRules() const { return mxNumRules; } - const OUString& GetListId() const; - const OUString& GetContinueListId() const; + const OUString& GetListId() const { return msListId;} + const OUString& GetContinueListId() const { return msContinueListId;} }; diff --git a/xmloff/source/text/txtlists.cxx b/xmloff/source/text/txtlists.cxx index 5b882a6514cc..71663660c83c 100644 --- a/xmloff/source/text/txtlists.cxx +++ b/xmloff/source/text/txtlists.cxx @@ -216,15 +216,7 @@ OUString XMLTextListsHelper::GetContinueListIdOfProcessedList( return OUString(); } -const OUString& XMLTextListsHelper::GetLastProcessedListId() const -{ - return msLastProcessedListId; -} -const OUString& XMLTextListsHelper::GetListStyleOfLastProcessedList() const -{ - return msListStyleOfLastProcessedList; -} OUString XMLTextListsHelper::GenerateNewListId() const { -- cgit