diff options
author | Noel Grandin <noel@peralex.com> | 2014-06-12 14:06:28 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-06-17 10:55:17 +0200 |
commit | 3e82897353e576dc6e3fbf55371fda5a0c3415df (patch) | |
tree | 71c2f03128885000efae1852dccb504f8355c79e /sw/inc/docufld.hxx | |
parent | ec95abf2d8afeec38c9225ea49caa0e08d82b504 (diff) |
improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
Diffstat (limited to 'sw/inc/docufld.hxx')
-rw-r--r-- | sw/inc/docufld.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sw/inc/docufld.hxx b/sw/inc/docufld.hxx index 246971fc22fc..250be7f7fe46 100644 --- a/sw/inc/docufld.hxx +++ b/sw/inc/docufld.hxx @@ -474,12 +474,12 @@ public: /// Text virtual OUString GetPar2() const SAL_OVERRIDE; virtual void SetPar2(const OUString& rStr) SAL_OVERRIDE; - OUString GetTxt() const { return sTxt; } - OUString GetInitials() const; + const OUString& GetTxt() const { return sTxt; } + const OUString& GetInitials() const { return sInitials;} void SetName(const OUString& rStr); - OUString GetName() const; + const OUString& GetName() const { return sName;} - const OutlinerParaObject* GetTextObject() const; + const OutlinerParaObject* GetTextObject() const { return mpText;} void SetTextObject( OutlinerParaObject* pText ); sal_Int32 GetNumberOfParagraphs() const; |