| commit | 212cb61fb6adc05395b9f9afe0dacbd6594ae06b | [log] |
|---|---|---|
| author | Stephan Bergmann <sbergman@redhat.com> | Sun May 29 19:57:30 2022 +0200 |
| committer | Stephan Bergmann <sbergman@redhat.com> | Sun May 29 21:50:35 2022 +0200 |
| tree | 1d6cf44da1f3c5fae3ee971419d5d6e632b81c79 | |
| parent | 3c7378d54b7a04e3f6dfc75a994744bdd953af7b [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>
diff --git a/comphelper/source/streaming/memorystream.cxx b/comphelper/source/streaming/memorystream.cxx index 8c3dc90..98431e3 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; }