diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-06-08 16:29:34 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-06-08 16:29:34 +0200 |
commit | 9f356d3e66127bf14fe957962e8451dbd27c8ac8 (patch) | |
tree | 015db94871c0915b1894239bc58732388578305e /unotools/source/streaming/streamhelper.cxx | |
parent | 63082134bfa79da7b5251284fe5a3c516ba41171 (diff) |
loplugin:cstylecast: deal with remaining pointer casts
Change-Id: Ic05bc081ec190cc80d8821630e94f51c8db225b6
Diffstat (limited to 'unotools/source/streaming/streamhelper.cxx')
-rw-r--r-- | unotools/source/streaming/streamhelper.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unotools/source/streaming/streamhelper.cxx b/unotools/source/streaming/streamhelper.cxx index 1206cf0c81a6..5c74aeb00d10 100644 --- a/unotools/source/streaming/streamhelper.cxx +++ b/unotools/source/streaming/streamhelper.cxx @@ -45,7 +45,7 @@ sal_Int32 SAL_CALL OInputStreamHelper::readBytes(css::uno::Sequence< sal_Int8 >& aData.realloc(nBytesToRead); sal_Size nRead(0); - ErrCode nError = m_xLockBytes->ReadAt(m_nActPos, (void*)aData.getArray(), nBytesToRead, &nRead); + ErrCode nError = m_xLockBytes->ReadAt(m_nActPos, static_cast<void*>(aData.getArray()), nBytesToRead, &nRead); m_nActPos += nRead; if (nError != ERRCODE_NONE) |