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 /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 'svl')
-rw-r--r-- | svl/source/numbers/zforfind.hxx | 4 | ||||
-rw-r--r-- | svl/source/numbers/zforscan.hxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/svl/source/numbers/zforfind.hxx b/svl/source/numbers/zforfind.hxx index 5d6ce67a4efd..351283bdef04 100644 --- a/svl/source/numbers/zforfind.hxx +++ b/svl/source/numbers/zforfind.hxx @@ -224,7 +224,7 @@ private: // optimized substring versions // Whether rString contains rWhat at nPos - static inline bool StringContains( const OUString& rWhat, + static bool StringContains( const OUString& rWhat, const OUString& rString, sal_Int32 nPos ) { @@ -241,7 +241,7 @@ private: } // Whether pString contains rWhat at nPos - static inline bool StringPtrContains( const OUString& rWhat, + static bool StringPtrContains( const OUString& rWhat, const sal_Unicode* pString, sal_Int32 nPos ) // nPos MUST be a valid offset from pString { diff --git a/svl/source/numbers/zforscan.hxx b/svl/source/numbers/zforscan.hxx index e0cec64bc859..62a6629cb9d3 100644 --- a/svl/source/numbers/zforscan.hxx +++ b/svl/source/numbers/zforscan.hxx @@ -218,7 +218,7 @@ private: // Private section short GetKeyWord( const OUString& sSymbol, // Determine keyword at nPos sal_Int32 nPos ); // Return 0 <=> not found - inline bool IsAmbiguousE( short nKey ) // whether nKey is ambiguous E of NF_KEY_E/NF_KEY_EC + bool IsAmbiguousE( short nKey ) // whether nKey is ambiguous E of NF_KEY_E/NF_KEY_EC { return (nKey == NF_KEY_EC || nKey == NF_KEY_E) && (GetKeywords()[NF_KEY_EC] == GetKeywords()[NF_KEY_E]); @@ -242,7 +242,7 @@ private: // Private section reused instead of shifting all one up and nPos is decremented! */ bool InsertSymbol( sal_uInt16 & nPos, svt::NfSymbolType eType, const OUString& rStr ); - static inline bool StringEqualsChar( const OUString& rStr, sal_Unicode ch ) + static bool StringEqualsChar( const OUString& rStr, sal_Unicode ch ) { return rStr.getLength() == 1 && rStr[0] == ch; } // remove "..." and \... quotes from rStr, return how many chars removed |