summaryrefslogtreecommitdiffstats
path: root/sd/inc
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 /sd/inc
parentwriterfilter: Kill unused XPathLogger. (diff)
downloadcore-3e82897353e576dc6e3fbf55371fda5a0c3415df.tar.gz
core-3e82897353e576dc6e3fbf55371fda5a0c3415df.zip
improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
Diffstat (limited to 'sd/inc')
-rw-r--r--sd/inc/cusshow.hxx4
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; }