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 /sd/inc/cusshow.hxx | |
parent | ec95abf2d8afeec38c9225ea49caa0e08d82b504 (diff) |
improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
Diffstat (limited to 'sd/inc/cusshow.hxx')
-rw-r--r-- | sd/inc/cusshow.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/inc/cusshow.hxx b/sd/inc/cusshow.hxx index aec961d68bb5..cad138eab137 100644 --- a/sd/inc/cusshow.hxx +++ b/sd/inc/cusshow.hxx @@ -55,7 +55,7 @@ public: SdCustomShow( const SdCustomShow& rShow ); /** Provides a direct access to the collection of the SdPage objects. */ - PageVec& PagesVector(); + PageVec& PagesVector() { return maPages;} /** * Replaces all occurrences of pOldPage with pNewPage. * If pNewPage is 0 then removes all occurrences of pOldPage. @@ -65,7 +65,7 @@ public: void RemovePage( const SdPage* pPage ); void SetName(const OUString& rName); - OUString GetName() const; + const OUString& GetName() const { return aName;} SdDrawDocument* GetDoc() const { return pDoc; } |