summaryrefslogtreecommitdiff
path: root/comphelper/source/streaming/oslfile2streamwrap.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-06-08 16:23:52 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-06-08 16:23:52 +0200
commit66a0a3726adc17f1f5378c4c6de00bb930a370d5 (patch)
tree913412a14b7bbb2ab8f69f708b63c472e67a4dda /comphelper/source/streaming/oslfile2streamwrap.cxx
parentbc14d27dd0b50a37ff7ec93b49de976e01c54d0d (diff)
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: I1ceb4359188b61e15a31750a496021c4394e1a3f
Diffstat (limited to 'comphelper/source/streaming/oslfile2streamwrap.cxx')
-rw-r--r--comphelper/source/streaming/oslfile2streamwrap.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/comphelper/source/streaming/oslfile2streamwrap.cxx b/comphelper/source/streaming/oslfile2streamwrap.cxx
index 4b9aad443b6c..4b3dd8e81606 100644
--- a/comphelper/source/streaming/oslfile2streamwrap.cxx
+++ b/comphelper/source/streaming/oslfile2streamwrap.cxx
@@ -51,7 +51,7 @@ sal_Int32 SAL_CALL OSLInputStreamWrapper::readBytes(css::uno::Sequence< sal_Int8
aData.realloc(nBytesToRead);
sal_uInt64 nRead = 0;
- FileBase::RC eError = m_pFile->read((void*)aData.getArray(), nBytesToRead, nRead);
+ FileBase::RC eError = m_pFile->read(static_cast<void*>(aData.getArray()), nBytesToRead, nRead);
if (eError != FileBase::E_None)
throw css::io::BufferSizeExceededException(OUString(),static_cast<css::uno::XWeak*>(this));