diff options
author | Wastack <btomi96@gmail.com> | 2016-03-31 08:45:27 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-04-01 06:46:02 +0000 |
commit | eea3f508c35f8f391825761ab6e1f3fbfb2fd0c1 (patch) | |
tree | d956fb94b7d9cf4b978eb1a9aca2910fca93d384 /sal | |
parent | 1271eadfac7e77ff7b249e64be3857ffdc0a261c (diff) |
tdf#97966 Drop 'static' keywords
Including no keywords from extern "C" blocks
Change-Id: I87f2ed75888b51ec9e0cb75566bf7c2351b479b4
Reviewed-on: https://gerrit.libreoffice.org/23675
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sal')
-rw-r--r-- | sal/rtl/strtmpl.cxx | 4 | ||||
-rw-r--r-- | sal/textenc/convertsimple.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sal/rtl/strtmpl.cxx b/sal/rtl/strtmpl.cxx index 7260fbcfc9d4..df0d1a2e52cf 100644 --- a/sal/rtl/strtmpl.cxx +++ b/sal/rtl/strtmpl.cxx @@ -994,7 +994,7 @@ sal_Bool SAL_CALL IMPL_RTL_STRNAME( toBoolean )( const IMPL_RTL_STRCODE* pStr ) /* ----------------------------------------------------------------------- */ namespace { - template<typename T, typename U> static inline T IMPL_RTL_STRNAME( toInt )( const IMPL_RTL_STRCODE* pStr, + template<typename T, typename U> inline T IMPL_RTL_STRNAME( toInt )( const IMPL_RTL_STRCODE* pStr, sal_Int16 nRadix ) { static_assert(std::numeric_limits<T>::is_signed, "is signed"); @@ -1084,7 +1084,7 @@ sal_Int64 SAL_CALL IMPL_RTL_STRNAME( toInt64 )( const IMPL_RTL_STRCODE* pStr, /* ----------------------------------------------------------------------- */ namespace { - template <typename T> static inline T IMPL_RTL_STRNAME( toUInt )( const IMPL_RTL_STRCODE* pStr, + template <typename T> inline T IMPL_RTL_STRNAME( toUInt )( const IMPL_RTL_STRCODE* pStr, sal_Int16 nRadix ) { static_assert(!std::numeric_limits<T>::is_signed, "is not signed"); diff --git a/sal/textenc/convertsimple.cxx b/sal/textenc/convertsimple.cxx index 11c5bf5758b5..476e8819bbd0 100644 --- a/sal/textenc/convertsimple.cxx +++ b/sal/textenc/convertsimple.cxx @@ -444,7 +444,7 @@ const sal_uInt16* ImplGetReplaceString( sal_Unicode c ) } // Writes 0--2 characters to dest: -static int ImplConvertUnicodeCharToChar( +int ImplConvertUnicodeCharToChar( const ImplByteConvertData* pConvertData, sal_Unicode c, char * dest ) { const ImplUniCharTabData* pToCharExTab; |