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 /starmath | |
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 'starmath')
-rw-r--r-- | starmath/inc/visitors.hxx | 2 | ||||
-rw-r--r-- | starmath/source/cfgitem.hxx | 4 | ||||
-rw-r--r-- | starmath/source/eqnolefilehdr.hxx | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/starmath/inc/visitors.hxx b/starmath/inc/visitors.hxx index 1ac1db112750..fafbd328ee2e 100644 --- a/starmath/inc/visitors.hxx +++ b/starmath/inc/visitors.hxx @@ -449,7 +449,7 @@ private: maCmdText.append( rText ); } /** Append a blank for separation, if needed */ - inline void Separate( ){ + void Separate( ){ if( maCmdText.isEmpty() || maCmdText[ maCmdText.getLength() - 1 ] != ' ' ) maCmdText.append(' '); } diff --git a/starmath/source/cfgitem.hxx b/starmath/source/cfgitem.hxx index 1bb91e340f2a..3a90fd6df1d2 100644 --- a/starmath/source/cfgitem.hxx +++ b/starmath/source/cfgitem.hxx @@ -127,9 +127,9 @@ protected: void SaveFontFormatList(); void SetOtherModified( bool bVal ); - inline bool IsOtherModified() const { return bIsOtherModified; } + bool IsOtherModified() const { return bIsOtherModified; } void SetFormatModified( bool bVal ); - inline bool IsFormatModified() const { return bIsFormatModified; } + bool IsFormatModified() const { return bIsFormatModified; } SmFontFormatList & GetFontFormatList(); const SmFontFormatList & GetFontFormatList() const diff --git a/starmath/source/eqnolefilehdr.hxx b/starmath/source/eqnolefilehdr.hxx index 5c294fc70412..a440c64960bc 100644 --- a/starmath/source/eqnolefilehdr.hxx +++ b/starmath/source/eqnolefilehdr.hxx @@ -44,7 +44,7 @@ public: sal_uInt32 nReserved3; // not used sal_uInt32 nReserved4; // not used - inline void Read(SotStorageStream *pS) + void Read(SotStorageStream *pS) { pS->ReadUInt16( nCBHdr ); pS->ReadUInt32( nVersion ); @@ -55,7 +55,7 @@ public: pS->ReadUInt32( nReserved3 ); pS->ReadUInt32( nReserved4 ); } - inline void Write(SotStorageStream *pS) + void Write(SotStorageStream *pS) { pS->WriteUInt16( nCBHdr ); pS->WriteUInt32( nVersion ); |