diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-03-03 20:57:02 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-03-03 20:55:50 +0000 |
commit | 6cb9e6dad798ec59f055aebe84a9c4a21e4be40d (patch) | |
tree | 21a7d6c0b165251ba8e0f36e73c851d41ac9dd04 /sw/source/core/text/pordrop.hxx | |
parent | 7e8806cd728bf906e1a8f1d649bef7337f297b1c (diff) |
Remove redundant 'inline' keyword
...from function definitions occurring within class definitions. Done with
a rewriting Clang plugin (to be pushed later).
Change-Id: I9c6f2818a57ccdb361548895a7743107cbacdff8
Reviewed-on: https://gerrit.libreoffice.org/34874
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sw/source/core/text/pordrop.hxx')
-rw-r--r-- | sw/source/core/text/pordrop.hxx | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/sw/source/core/text/pordrop.hxx b/sw/source/core/text/pordrop.hxx index 05ff5a6bb084..030a9b5f2435 100644 --- a/sw/source/core/text/pordrop.hxx +++ b/sw/source/core/text/pordrop.hxx @@ -45,12 +45,12 @@ public: : pFollow( nullptr ), pFnt( &rFont ), nLen( nL ), nWidth( 0 ), m_bJoinBorderWithNext(false), m_bJoinBorderWithPrev(false) {}; ~SwDropPortionPart(); - inline SwDropPortionPart* GetFollow() const { return pFollow; }; - inline void SetFollow( SwDropPortionPart* pNew ) { pFollow = pNew; }; - inline SwFont& GetFont() const { return *pFnt; } - inline sal_Int32 GetLen() const { return nLen; } - inline sal_uInt16 GetWidth() const { return nWidth; } - inline void SetWidth( sal_uInt16 nNew ) { nWidth = nNew; } + SwDropPortionPart* GetFollow() const { return pFollow; }; + void SetFollow( SwDropPortionPart* pNew ) { pFollow = pNew; }; + SwFont& GetFont() const { return *pFnt; } + sal_Int32 GetLen() const { return nLen; } + sal_uInt16 GetWidth() const { return nWidth; } + void SetWidth( sal_uInt16 nNew ) { nWidth = nNew; } bool GetJoinBorderWithPrev() const { return m_bJoinBorderWithPrev; } bool GetJoinBorderWithNext() const { return m_bJoinBorderWithNext; } @@ -85,18 +85,18 @@ public: virtual SwPosSize GetTextSize( const SwTextSizeInfo &rInfo ) const override; virtual sal_Int32 GetCursorOfst( const sal_uInt16 nOfst ) const override; - inline sal_uInt16 GetLines() const { return nLines; } - inline sal_uInt16 GetDistance() const { return nDistance; } - inline sal_uInt16 GetDropHeight() const { return nDropHeight; } - inline sal_uInt16 GetDropDescent() const { return nDropDescent; } - inline sal_uInt16 GetDropLeft() const { return Width() + nFix; } + sal_uInt16 GetLines() const { return nLines; } + sal_uInt16 GetDistance() const { return nDistance; } + sal_uInt16 GetDropHeight() const { return nDropHeight; } + sal_uInt16 GetDropDescent() const { return nDropDescent; } + sal_uInt16 GetDropLeft() const { return Width() + nFix; } - inline SwDropPortionPart* GetPart() const { return pPart; } - inline void SetPart( SwDropPortionPart* pNew ) { pPart = pNew; } + SwDropPortionPart* GetPart() const { return pPart; } + void SetPart( SwDropPortionPart* pNew ) { pPart = pNew; } - inline void SetY( short nNew ) { nY = nNew; } + void SetY( short nNew ) { nY = nNew; } - inline SwFont* GetFnt() const { return pPart ? &pPart->GetFont() : nullptr; } + SwFont* GetFnt() const { return pPart ? &pPart->GetFont() : nullptr; } static void DeleteDropCapCache(); |