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/svl | |
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/svl')
-rw-r--r-- | include/svl/macitem.hxx | 8 | ||||
-rw-r--r-- | include/svl/poolitem.hxx | 2 | ||||
-rw-r--r-- | include/svl/rngitem.hxx | 2 | ||||
-rw-r--r-- | include/svl/srchitem.hxx | 4 | ||||
-rw-r--r-- | include/svl/zforlist.hxx | 2 |
5 files changed, 9 insertions, 9 deletions
diff --git a/include/svl/macitem.hxx b/include/svl/macitem.hxx index 767bd7fa8509..e3b7d589ece7 100644 --- a/include/svl/macitem.hxx +++ b/include/svl/macitem.hxx @@ -81,8 +81,8 @@ class SVL_DLLPUBLIC SvxMacroTableDtor private: SvxMacroTable aSvxMacroTable; public: - inline SvxMacroTableDtor() {} - inline SvxMacroTableDtor( const SvxMacroTableDtor &rCpy ) : aSvxMacroTable(rCpy.aSvxMacroTable) { } + SvxMacroTableDtor() {} + SvxMacroTableDtor( const SvxMacroTableDtor &rCpy ) : aSvxMacroTable(rCpy.aSvxMacroTable) { } SvxMacroTableDtor& operator=( const SvxMacroTableDtor &rCpy ); bool operator==( const SvxMacroTableDtor& rOther ) const; @@ -133,8 +133,8 @@ public: virtual SvStream& Store(SvStream &, sal_uInt16 nItemVersion ) const override; virtual sal_uInt16 GetVersion( sal_uInt16 nFileFormatVersion ) const override; - inline const SvxMacroTableDtor& GetMacroTable() const { return aMacroTable;} - inline void SetMacroTable( const SvxMacroTableDtor& rTbl ) { aMacroTable = rTbl; } + const SvxMacroTableDtor& GetMacroTable() const { return aMacroTable;} + void SetMacroTable( const SvxMacroTableDtor& rTbl ) { aMacroTable = rTbl; } inline const SvxMacro& GetMacro( sal_uInt16 nEvent ) const; inline bool HasMacro( sal_uInt16 nEvent ) const; diff --git a/include/svl/poolitem.hxx b/include/svl/poolitem.hxx index 54571a6a48f8..78ed4120841f 100644 --- a/include/svl/poolitem.hxx +++ b/include/svl/poolitem.hxx @@ -173,7 +173,7 @@ public: SfxPoolItem* CloneSetWhich( sal_uInt16 nNewWhich ) const; sal_uInt32 GetRefCount() const { return m_nRefCount; } - inline SfxItemKind GetKind() const { return m_nKind; } + SfxItemKind GetKind() const { return m_nKind; } virtual void dumpAsXml(struct _xmlTextWriter* pWriter) const; private: diff --git a/include/svl/rngitem.hxx b/include/svl/rngitem.hxx index aa39e273e288..a7187df469d7 100644 --- a/include/svl/rngitem.hxx +++ b/include/svl/rngitem.hxx @@ -41,7 +41,7 @@ public: OUString &rText, const IntlWrapper * = nullptr ) const override; virtual SfxPoolItem* Clone( SfxItemPool *pPool = nullptr ) const override; - inline sal_uInt16& From() { return nFrom; } + sal_uInt16& From() { return nFrom; } virtual SfxPoolItem* Create( SvStream &, sal_uInt16 nVersion ) const override; virtual SvStream& Store( SvStream &, sal_uInt16 nItemVersion ) const override; }; diff --git a/include/svl/srchitem.hxx b/include/svl/srchitem.hxx index 1f6d5553d336..0c3a86772f78 100644 --- a/include/svl/srchitem.hxx +++ b/include/svl/srchitem.hxx @@ -191,8 +191,8 @@ public: inline bool IsMatchFullHalfWidthForms() const; void SetMatchFullHalfWidthForms( bool bVal ); - inline bool IsUseAsianOptions() const { return m_bAsianOptions; } - inline void SetUseAsianOptions( bool bVal ) { m_bAsianOptions = bVal; } + bool IsUseAsianOptions() const { return m_bAsianOptions; } + void SetUseAsianOptions( bool bVal ) { m_bAsianOptions = bVal; } sal_Int32 GetStartPointX() const; sal_Int32 GetStartPointY() const; diff --git a/include/svl/zforlist.hxx b/include/svl/zforlist.hxx index dfdd8ebe2623..a1e87a7f58c3 100644 --- a/include/svl/zforlist.hxx +++ b/include/svl/zforlist.hxx @@ -293,7 +293,7 @@ public: sal_uInt16 nCurrFormat, bool bBank ); /// General Unicode Euro symbol - static inline sal_Unicode GetEuroSymbol() { return sal_Unicode(0x20AC); } + static sal_Unicode GetEuroSymbol() { return sal_Unicode(0x20AC); } }; typedef std::vector< OUString > NfWSStringsDtor; |