diff options
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; |