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 /sal/rtl/math.cxx | |
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 'sal/rtl/math.cxx')
-rw-r--r-- | sal/rtl/math.cxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sal/rtl/math.cxx b/sal/rtl/math.cxx index 4d0ecb199b61..72558a946131 100644 --- a/sal/rtl/math.cxx +++ b/sal/rtl/math.cxx @@ -81,19 +81,19 @@ struct StringTraits typedef rtl_String String; - static inline void createString(rtl_String ** pString, + static void createString(rtl_String ** pString, sal_Char const * pChars, sal_Int32 nLen) { rtl_string_newFromStr_WithLength(pString, pChars, nLen); } - static inline void createBuffer(rtl_String ** pBuffer, + static void createBuffer(rtl_String ** pBuffer, sal_Int32 * pCapacity) { rtl_string_new_WithLength(pBuffer, *pCapacity); } - static inline void appendChars(rtl_String ** pBuffer, sal_Int32 * pCapacity, + static void appendChars(rtl_String ** pBuffer, sal_Int32 * pCapacity, sal_Int32 * pOffset, sal_Char const * pChars, sal_Int32 nLen) { @@ -102,7 +102,7 @@ struct StringTraits *pOffset += nLen; } - static inline void appendAscii(rtl_String ** pBuffer, sal_Int32 * pCapacity, + static void appendAscii(rtl_String ** pBuffer, sal_Int32 * pCapacity, sal_Int32 * pOffset, sal_Char const * pStr, sal_Int32 nLen) { @@ -118,19 +118,19 @@ struct UStringTraits typedef rtl_uString String; - static inline void createString(rtl_uString ** pString, + static void createString(rtl_uString ** pString, sal_Unicode const * pChars, sal_Int32 nLen) { rtl_uString_newFromStr_WithLength(pString, pChars, nLen); } - static inline void createBuffer(rtl_uString ** pBuffer, + static void createBuffer(rtl_uString ** pBuffer, sal_Int32 * pCapacity) { rtl_uString_new_WithLength(pBuffer, *pCapacity); } - static inline void appendChars(rtl_uString ** pBuffer, + static void appendChars(rtl_uString ** pBuffer, sal_Int32 * pCapacity, sal_Int32 * pOffset, sal_Unicode const * pChars, sal_Int32 nLen) { @@ -139,7 +139,7 @@ struct UStringTraits *pOffset += nLen; } - static inline void appendAscii(rtl_uString ** pBuffer, + static void appendAscii(rtl_uString ** pBuffer, sal_Int32 * pCapacity, sal_Int32 * pOffset, sal_Char const * pStr, sal_Int32 nLen) { |