Kaydet (Commit) 818c2021 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1266457 Identical code for different branches

Change-Id: I809ad43ad4541e4dcd5c245b469d30605f9f0d27
üst 2b957148
...@@ -215,10 +215,7 @@ bool SbiBuffer::operator +=( sal_uInt32 n ) ...@@ -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
......
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