diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2013-01-21 17:05:55 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2013-01-21 17:05:55 +0100 |
commit | 2ae6e77881028a287610f13d10f4c37242ff464b (patch) | |
tree | 7a4279ed77f357aed0d301c2d53bbbf00b2dfe33 /sal | |
parent | 129678d7649c0dbb5123ef7e80ae560e1d4553f1 (diff) |
Revert "avoid -Wsign-promo warnings"
This reverts commit 1efe9a15f86a7a9dc08b57fd1dd12336522ba515, which is obsoleted
by 488823a140217e393298bc83e75084041a85ed45 "Remove -Wsign-promo."
Diffstat (limited to 'sal')
-rw-r--r-- | sal/inc/rtl/string.hxx | 24 | ||||
-rw-r--r-- | sal/inc/rtl/ustring.hxx | 24 |
2 files changed, 0 insertions, 48 deletions
diff --git a/sal/inc/rtl/string.hxx b/sal/inc/rtl/string.hxx index 11a7bf787853..104885592986 100644 --- a/sal/inc/rtl/string.hxx +++ b/sal/inc/rtl/string.hxx @@ -1558,30 +1558,6 @@ public: return OString( pNewData, (DO_NOT_ACQUIRE*)0 ); } - /// @overload - /// @since LibreOffice 4.1 - static OString number( short i, sal_Int16 radix = 10 ) - { - return number( static_cast< long long >( i ), radix ); - } - /// @overload - /// @since LibreOffice 4.1 - static OString number( unsigned short i, sal_Int16 radix = 10 ) - { - return number( static_cast< long long >( i ), radix ); - } - /// @overload - /// @since LibreOffice 4.1 - static OString number( signed char i, sal_Int16 radix = 10 ) - { - return number( static_cast< long long >( i ), radix ); - } - /// @overload - /// @since LibreOffice 4.1 - static OString number( unsigned char i, sal_Int16 radix = 10 ) - { - return number( static_cast< long long >( i ), radix ); - } /** Returns the string representation of the float argument. diff --git a/sal/inc/rtl/ustring.hxx b/sal/inc/rtl/ustring.hxx index 69b8ab863bfa..f9a64d08aad6 100644 --- a/sal/inc/rtl/ustring.hxx +++ b/sal/inc/rtl/ustring.hxx @@ -2192,30 +2192,6 @@ public: return OUString( pNewData, (DO_NOT_ACQUIRE*)0 ); } - /// @overload - /// @since LibreOffice 4.1 - static OUString number( short i, sal_Int16 radix = 10 ) - { - return number( static_cast< long long >( i ), radix ); - } - /// @overload - /// @since LibreOffice 4.1 - static OUString number( unsigned short i, sal_Int16 radix = 10 ) - { - return number( static_cast< long long >( i ), radix ); - } - /// @overload - /// @since LibreOffice 4.1 - static OUString number( signed char i, sal_Int16 radix = 10 ) - { - return number( static_cast< long long >( i ), radix ); - } - /// @overload - /// @since LibreOffice 4.1 - static OUString number( unsigned char i, sal_Int16 radix = 10 ) - { - return number( static_cast< long long >( i ), radix ); - } /** Returns the string representation of the float argument. |