diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-05-12 18:27:37 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-05-12 18:27:54 +0200 |
commit | 0bfc98e63b062bc847fd0f37308c050ac618c56f (patch) | |
tree | 0b20885e7bb84fcc7932e5b6488a6efec1716ade /sd/source/ui/app | |
parent | 4e871a9b225c0d21ed703b45400b4e8476214bce (diff) |
loplugin:redundantcast: reinterpret_cast to void*
Change-Id: I947b49cfb15f0e7d6ddfaae386656c70e4bd48ba
Diffstat (limited to 'sd/source/ui/app')
-rw-r--r-- | sd/source/ui/app/sdmod1.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/app/sdmod1.cxx b/sd/source/ui/app/sdmod1.cxx index 47a6bc004336..448dd30947f9 100644 --- a/sd/source/ui/app/sdmod1.cxx +++ b/sd/source/ui/app/sdmod1.cxx @@ -927,7 +927,7 @@ OutlineToImpressFinalizer::OutlineToImpressFinalizer ( const ErrCode nErrorCode ( rBytes.ReadAt( nReadPosition, - reinterpret_cast<void*>(pBuffer.get()), + pBuffer.get(), nBufferSize, &nReadByteCount)); @@ -951,7 +951,7 @@ OutlineToImpressFinalizer::OutlineToImpressFinalizer ( // Append the read bytes to the end of the memory stream. if (nReadByteCount > 0) { - mpStream->Write(reinterpret_cast<void*>(pBuffer.get()), nReadByteCount); + mpStream->Write(pBuffer.get(), nReadByteCount); nReadPosition += nReadByteCount; } } |