summaryrefslogtreecommitdiff
path: root/xmlscript
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-01-19 15:12:50 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-01-20 09:06:55 +0100
commitbe06f3433ff7a92eba2f35f2f9764131e874450c (patch)
tree31658fd295fa6e44c022a2d2d437a5e8ff05c28a /xmlscript
parent2880dfe3012776e49a47e2e1b6e4bcfa1636be17 (diff)
Some more loplugin:cstylecast: xmlscript
Change-Id: I6c13ff51c32e0fded35d8f9124981fee1cce80ad
Diffstat (limited to 'xmlscript')
-rw-r--r--xmlscript/source/xml_helper/xml_byteseq.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmlscript/source/xml_helper/xml_byteseq.cxx b/xmlscript/source/xml_helper/xml_byteseq.cxx
index b9dd1caca3a4..9e88ff9a7242 100644
--- a/xmlscript/source/xml_helper/xml_byteseq.cxx
+++ b/xmlscript/source/xml_helper/xml_byteseq.cxx
@@ -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()