summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2022-05-29 19:57:30 +0200
committerStephan Bergmann <sbergman@redhat.com>2022-05-29 21:50:35 +0200
commit212cb61fb6adc05395b9f9afe0dacbd6594ae06b (patch)
tree1d6cf44da1f3c5fae3ee971419d5d6e632b81c79 /comphelper
parent3c7378d54b7a04e3f6dfc75a994744bdd953af7b (diff)
Drop now-redundant cast
...that 3ca1a169e571a829598a00a2ffef6e1018d2cb18 "Use boost::noinit_adaptor" forgot to remove Change-Id: I82818c72e9178cda7b9698d8a30e1b8f3c3d87c7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/135099 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/source/streaming/memorystream.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/source/streaming/memorystream.cxx b/comphelper/source/streaming/memorystream.cxx
index 8c3dc902f48f..98431e318380 100644
--- a/comphelper/source/streaming/memorystream.cxx
+++ b/comphelper/source/streaming/memorystream.cxx
@@ -147,7 +147,7 @@ sal_Int32 SAL_CALL UNOMemoryStream::readBytes( Sequence< sal_Int8 >& aData, sal_
{
sal_Int8* pData = &(*maData.begin());
sal_Int8* pCursor = &(pData[mnCursor]);
- memcpy( aData.getArray(), static_cast<void*>(pCursor), nBytesToRead );
+ memcpy( aData.getArray(), pCursor, nBytesToRead );
mnCursor += nBytesToRead;
}