Kaydet (Commit) 2ae6e778 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Revert "avoid -Wsign-promo warnings"

This reverts commit 1efe9a15, which is obsoleted
by 488823a1 "Remove -Wsign-promo."
üst 129678d7
...@@ -1558,30 +1558,6 @@ public: ...@@ -1558,30 +1558,6 @@ public:
return OString( pNewData, (DO_NOT_ACQUIRE*)0 ); 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. Returns the string representation of the float argument.
......
...@@ -2192,30 +2192,6 @@ public: ...@@ -2192,30 +2192,6 @@ public:
return OUString( pNewData, (DO_NOT_ACQUIRE*)0 ); 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. Returns the string representation of the float argument.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment