summaryrefslogtreecommitdiff
path: root/lotuswordpro
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 /lotuswordpro
parentec95abf2d8afeec38c9225ea49caa0e08d82b504 (diff)
improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
Diffstat (limited to 'lotuswordpro')
-rw-r--r--lotuswordpro/source/filter/lwphyperlinkmgr.cxx4
-rw-r--r--lotuswordpro/source/filter/lwphyperlinkmgr.hxx2
-rw-r--r--lotuswordpro/source/filter/xfilter/xffontdecl.cxx8
-rw-r--r--lotuswordpro/source/filter/xfilter/xffontdecl.hxx4
4 files changed, 3 insertions, 15 deletions
diff --git a/lotuswordpro/source/filter/lwphyperlinkmgr.cxx b/lotuswordpro/source/filter/lwphyperlinkmgr.cxx
index 07b70d494b40..da08e437e2f4 100644
--- a/lotuswordpro/source/filter/lwphyperlinkmgr.cxx
+++ b/lotuswordpro/source/filter/lwphyperlinkmgr.cxx
@@ -72,10 +72,6 @@ LwpHyperlinkMgr::~LwpHyperlinkMgr()
{
}
-OUString LwpHyperlinkMgr::GetHyperlink()
-{
- return m_Hyperlink;
-}
void LwpHyperlinkMgr::SetHyperlink(const OUString& hyperlink)
{
diff --git a/lotuswordpro/source/filter/lwphyperlinkmgr.hxx b/lotuswordpro/source/filter/lwphyperlinkmgr.hxx
index a0621c3902ee..ada057875ec0 100644
--- a/lotuswordpro/source/filter/lwphyperlinkmgr.hxx
+++ b/lotuswordpro/source/filter/lwphyperlinkmgr.hxx
@@ -74,7 +74,7 @@ public:
void SetHyperlinkFlag(bool bFlag){m_bIsHyperlink = bFlag;}
bool GetHyperlinkFlag(){return m_bIsHyperlink;}
void SetHyperlink(const OUString& hyperlink);
- OUString GetHyperlink();
+ const OUString& GetHyperlink() { return m_Hyperlink;}
private:
OUString m_Hyperlink;
bool m_bIsHyperlink;
diff --git a/lotuswordpro/source/filter/xfilter/xffontdecl.cxx b/lotuswordpro/source/filter/xfilter/xffontdecl.cxx
index 691a37583421..e3cdbb849828 100644
--- a/lotuswordpro/source/filter/xfilter/xffontdecl.cxx
+++ b/lotuswordpro/source/filter/xfilter/xffontdecl.cxx
@@ -66,15 +66,7 @@ XFFontDecl::XFFontDecl(const OUString& name, const OUString& family, bool fixed)
m_bPitchFixed = fixed;
}
-OUString XFFontDecl::GetFontName()
-{
- return m_strFontName;
-}
-OUString XFFontDecl::GetFontFamily()
-{
- return m_strFontFamily;
-}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/lotuswordpro/source/filter/xfilter/xffontdecl.hxx b/lotuswordpro/source/filter/xfilter/xffontdecl.hxx
index b540b93dfd2b..813033e783d2 100644
--- a/lotuswordpro/source/filter/xfilter/xffontdecl.hxx
+++ b/lotuswordpro/source/filter/xfilter/xffontdecl.hxx
@@ -77,12 +77,12 @@ public:
/**
* @descr Get font name.
*/
- OUString GetFontName();
+ OUString GetFontName() { return m_strFontName;}
/**
* @descr Get font family.
*/
- OUString GetFontFamily();
+ OUString GetFontFamily() { return m_strFontFamily;}
bool GetFontPitchFixed() { return m_bPitchFixed;}