summaryrefslogtreecommitdiff
path: root/xmloff/source/text
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2014-06-12 14:06:28 +0200
committerNoel Grandin <noel@peralex.com>2014-06-17 10:55:17 +0200
commit3e82897353e576dc6e3fbf55371fda5a0c3415df (patch)
tree71c2f03128885000efae1852dccb504f8355c79e /xmloff/source/text
parentec95abf2d8afeec38c9225ea49caa0e08d82b504 (diff)
improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
Diffstat (limited to 'xmloff/source/text')
-rw-r--r--xmloff/source/text/XMLTextListBlockContext.cxx8
-rw-r--r--xmloff/source/text/XMLTextListBlockContext.hxx4
-rw-r--r--xmloff/source/text/txtlists.cxx8
3 files changed, 2 insertions, 18 deletions
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
{