diff --git a/basic/source/comp/buffer.cxx b/basic/source/comp/buffer.cxx index bb61087ee731..870f299701d9 100644 --- a/basic/source/comp/buffer.cxx +++ b/basic/source/comp/buffer.cxx @@ -215,10 +215,7 @@ bool SbiBuffer::operator +=( sal_uInt32 n ) { sal_uInt16 n1 = static_cast( n & 0xFFFF ); sal_uInt16 n2 = static_cast( n >> 16 ); - if ( operator +=( n1 ) && operator +=( n2 ) ) - { - return true; - } + operator +=(n1) && operator +=(n2); return true; } else