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/anchoredobject.hxx | |
parent | ec95abf2d8afeec38c9225ea49caa0e08d82b504 (diff) |
improve the inlinesimplememberfunctions clang plugin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
Diffstat (limited to 'sw/inc/anchoredobject.hxx')
-rw-r--r-- | sw/inc/anchoredobject.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/inc/anchoredobject.hxx b/sw/inc/anchoredobject.hxx index fcc5c1b0868e..14750c879437 100644 --- a/sw/inc/anchoredobject.hxx +++ b/sw/inc/anchoredobject.hxx @@ -214,11 +214,11 @@ class SW_DLLPUBLIC SwAnchoredObject // accessors to member <mpDrawObj> void SetDrawObj( SdrObject& _rDrawObj ); - const SdrObject* GetDrawObj() const; + const SdrObject* GetDrawObj() const { return mpDrawObj;} SdrObject* DrawObj() { return mpDrawObj;} // accessors to member <mpAnchorFrm> - const SwFrm* GetAnchorFrm() const; + const SwFrm* GetAnchorFrm() const { return mpAnchorFrm;} SwFrm* AnchorFrm() { return mpAnchorFrm;} void ChgAnchorFrm( SwFrm* _pNewAnchorFrm ); /** determine anchor frame containing the anchor position @@ -233,7 +233,7 @@ class SW_DLLPUBLIC SwAnchoredObject SwFrm* GetAnchorFrmContainingAnchPos(); SwPageFrm* GetPageFrm() { return mpPageFrm;} - const SwPageFrm* GetPageFrm() const; + const SwPageFrm* GetPageFrm() const { return mpPageFrm;} void SetPageFrm( SwPageFrm* _pNewPageFrm ); /** method to determine the page frame, on which the 'anchor' of @@ -291,7 +291,7 @@ class SW_DLLPUBLIC SwAnchoredObject void CheckCharRectAndTopOfLine( const bool _bCheckForParaPorInf = true ); // accessors to member <maLastCharRect> - const SwRect& GetLastCharRect() const; + const SwRect& GetLastCharRect() const { return maLastCharRect;} SwTwips GetRelCharX( const SwFrm* pFrm ) const; SwTwips GetRelCharY( const SwFrm* pFrm ) const; void AddLastCharY( long nDiff ); @@ -353,7 +353,7 @@ class SW_DLLPUBLIC SwAnchoredObject // accessors to the current relative position (relative to anchor // position of anchor frame) - const Point GetCurrRelPos() const; + const Point GetCurrRelPos() const { return maRelPos;} void SetCurrRelPos( Point _aRelPos ); // accessors to the format |