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 /include/editeng/lrspitem.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 'include/editeng/lrspitem.hxx')
-rw-r--r-- | include/editeng/lrspitem.hxx | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/include/editeng/lrspitem.hxx b/include/editeng/lrspitem.hxx index 084fcb263f2e..eea64a7d0ec3 100644 --- a/include/editeng/lrspitem.hxx +++ b/include/editeng/lrspitem.hxx @@ -95,31 +95,31 @@ public: inline void SetRight( const long nR, const sal_uInt16 nProp = 100 ); // Query/direct setting of the absolute values - inline long GetLeft() const { return nLeftMargin; } - inline long GetRight() const { return nRightMargin;} - inline void SetLeftValue( const long nL ) { nTxtLeft = nLeftMargin = nL; } - inline void SetRightValue( const long nR ) { nRightMargin = nR; } - inline bool IsAutoFirst() const { return bAutoFirst; } - inline void SetAutoFirst( const bool bNew ) { bAutoFirst = bNew; } - - inline bool IsExplicitZeroMarginValRight() const { return bExplicitZeroMarginValRight; } - inline bool IsExplicitZeroMarginValLeft() const { return bExplicitZeroMarginValLeft; } - inline void SetExplicitZeroMarginValRight( const bool eR ) { bExplicitZeroMarginValRight = eR; } - inline void SetExplicitZeroMarginValLeft( const bool eL ) { bExplicitZeroMarginValLeft = eL; } - inline sal_uInt16 GetPropLeft() const { return nPropLeftMargin; } - inline sal_uInt16 GetPropRight() const { return nPropRightMargin;} + long GetLeft() const { return nLeftMargin; } + long GetRight() const { return nRightMargin;} + void SetLeftValue( const long nL ) { nTxtLeft = nLeftMargin = nL; } + void SetRightValue( const long nR ) { nRightMargin = nR; } + bool IsAutoFirst() const { return bAutoFirst; } + void SetAutoFirst( const bool bNew ) { bAutoFirst = bNew; } + + bool IsExplicitZeroMarginValRight() const { return bExplicitZeroMarginValRight; } + bool IsExplicitZeroMarginValLeft() const { return bExplicitZeroMarginValLeft; } + void SetExplicitZeroMarginValRight( const bool eR ) { bExplicitZeroMarginValRight = eR; } + void SetExplicitZeroMarginValLeft( const bool eL ) { bExplicitZeroMarginValLeft = eL; } + sal_uInt16 GetPropLeft() const { return nPropLeftMargin; } + sal_uInt16 GetPropRight() const { return nPropRightMargin;} // The UI/text interface: inline void SetTextLeft( const long nL, const sal_uInt16 nProp = 100 ); - inline long GetTextLeft() const { return nTxtLeft; } + long GetTextLeft() const { return nTxtLeft; } inline void SetTextFirstLineOfst( const short nF, const sal_uInt16 nProp = 100 ); - inline short GetTextFirstLineOfst() const { return nFirstLineOfst; } - inline void SetPropTextFirstLineOfst( const sal_uInt16 nProp ) + short GetTextFirstLineOfst() const { return nFirstLineOfst; } + void SetPropTextFirstLineOfst( const sal_uInt16 nProp ) { nPropFirstLineOfst = nProp; } - inline sal_uInt16 GetPropTextFirstLineOfst() const + sal_uInt16 GetPropTextFirstLineOfst() const { return nPropFirstLineOfst; } - inline void SetTextFirstLineOfstValue( const short nValue ) + void SetTextFirstLineOfstValue( const short nValue ) { nFirstLineOfst = nValue; } void dumpAsXml(struct _xmlTextWriter* pWriter) const override; }; |