Some more loplugin:cstylecast: xmlscript

Change-Id: I6c13ff51c32e0fded35d8f9124981fee1cce80ad
This commit is contained in:
Stephan Bergmann 2015-01-19 15:12:50 +01:00
parent 2880dfe301
commit be06f3433f

View File

@ -122,8 +122,8 @@ void BSeqOutputStream::writeBytes( Sequence< sal_Int8 > const & rData )
{
sal_Int32 nPos = _seq->getLength();
_seq->realloc( nPos + rData.getLength() );
memcpy( (char *)_seq->getArray() + nPos,
(char const *)rData.getConstArray(),
memcpy( _seq->getArray() + nPos,
rData.getConstArray(),
rData.getLength() );
}
void BSeqOutputStream::flush()