coverity#1266457 Identical code for different branches

Change-Id: I809ad43ad4541e4dcd5c245b469d30605f9f0d27
This commit is contained in:
Caolán McNamara 2015-01-25 20:46:39 +00:00
parent 2b95714814
commit 818c2021d1

View File

@ -215,10 +215,7 @@ bool SbiBuffer::operator +=( sal_uInt32 n )
{ {
sal_uInt16 n1 = static_cast<sal_uInt16>( n & 0xFFFF ); sal_uInt16 n1 = static_cast<sal_uInt16>( n & 0xFFFF );
sal_uInt16 n2 = static_cast<sal_uInt16>( n >> 16 ); sal_uInt16 n2 = static_cast<sal_uInt16>( n >> 16 );
if ( operator +=( n1 ) && operator +=( n2 ) ) operator +=(n1) && operator +=(n2);
{
return true;
}
return true; return true;
} }
else else