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 /sc/inc/postit.hxx | |
parent | ec95abf2d8afeec38c9225ea49caa0e08d82b504 (diff) |
improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
Diffstat (limited to 'sc/inc/postit.hxx')
-rw-r--r-- | sc/inc/postit.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sc/inc/postit.hxx b/sc/inc/postit.hxx index 5716207e07e7..e4408b2cf8a2 100644 --- a/sc/inc/postit.hxx +++ b/sc/inc/postit.hxx @@ -99,12 +99,12 @@ public: const ScNoteData& GetNoteData() const { return maNoteData;} /** Returns the creation date of this note. */ - const OUString& GetDate() const; + const OUString& GetDate() const { return maNoteData.maDate;} /** Sets a new creation date for this note. */ void SetDate( const OUString& rDate ); /** Returns the author date of this note. */ - const OUString& GetAuthor() const; + const OUString& GetAuthor() const { return maNoteData.maAuthor;} /** Sets a new author date for this note. */ void SetAuthor( const OUString& rAuthor ); @@ -123,7 +123,7 @@ public: /** Returns an existing note caption object. returns null, if the note contains initial caption data needed to construct a caption object. */ - SdrCaptionObj* GetCaption() const; + SdrCaptionObj* GetCaption() const { return maNoteData.mpCaption;} /** Returns the caption object of this note. Creates the caption object, if the note contains initial caption data instead of the caption. */ SdrCaptionObj* GetOrCreateCaption( const ScAddress& rPos ) const; @@ -133,7 +133,7 @@ public: /** Shows or hides the note caption object. */ void ShowCaption( const ScAddress& rPos, bool bShow = true ); /** Returns true, if the caption object is visible. */ - bool IsCaptionShown() const; + bool IsCaptionShown() const { return maNoteData.mbShown;} /** Shows or hides the caption temporarily (does not change internal visibility state). */ void ShowCaptionTemp( const ScAddress& rPos, bool bShow = true ); |