diff options
author | Noel Grandin <noel@peralex.com> | 2014-06-09 10:09:42 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-06-09 10:10:13 +0200 |
commit | 184a00b96235f6432294ded63ce4a4a318effdb5 (patch) | |
tree | e4ae0e00cb168fa43d280cfb51a50515258b5320 /sw/inc/anchoredobject.hxx | |
parent | kdefilepicker is autoinstalled now (diff) | |
download | core-184a00b96235f6432294ded63ce4a4a318effdb5.tar.gz core-184a00b96235f6432294ded63ce4a4a318effdb5.zip |
loplugin: inlinesimplememberfunctions
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
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 d5b4336bd3f7..fcc5c1b0868e 100644 --- a/sw/inc/anchoredobject.hxx +++ b/sw/inc/anchoredobject.hxx @@ -215,11 +215,11 @@ class SW_DLLPUBLIC SwAnchoredObject // accessors to member <mpDrawObj> void SetDrawObj( SdrObject& _rDrawObj ); const SdrObject* GetDrawObj() const; - SdrObject* DrawObj(); + SdrObject* DrawObj() { return mpDrawObj;} // accessors to member <mpAnchorFrm> const SwFrm* GetAnchorFrm() const; - SwFrm* AnchorFrm(); + SwFrm* AnchorFrm() { return mpAnchorFrm;} void ChgAnchorFrm( SwFrm* _pNewAnchorFrm ); /** determine anchor frame containing the anchor position @@ -232,7 +232,7 @@ class SW_DLLPUBLIC SwAnchoredObject */ SwFrm* GetAnchorFrmContainingAnchPos(); - SwPageFrm* GetPageFrm(); + SwPageFrm* GetPageFrm() { return mpPageFrm;} const SwPageFrm* GetPageFrm() const; void SetPageFrm( SwPageFrm* _pNewPageFrm ); @@ -298,7 +298,7 @@ class SW_DLLPUBLIC SwAnchoredObject void ResetLastCharRectHeight(); // accessor to member <nmLastTopOfLine> - SwTwips GetLastTopOfLine() const; + SwTwips GetLastTopOfLine() const { return mnLastTopOfLine;} void AddLastTopOfLineY( SwTwips _nDiff ); /** reset members <maLastCharRect> and <mnLastTopOfLine> @@ -468,7 +468,7 @@ class SW_DLLPUBLIC SwAnchoredObject // accessors to member <mbTmpConsiderWrapInfluence> void SetTmpConsiderWrapInfluence( const bool _bTmpConsiderWrapInfluence ); - bool IsTmpConsiderWrapInfluence() const; + bool IsTmpConsiderWrapInfluence() const { return mbTmpConsiderWrapInfluence;} /** method to determine, if the anchored object is overlapping with a previous column |