diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-03-29 09:17:00 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-03-29 09:17:47 +0200 |
commit | 0bd502af47b53bc4340df7874bd726361e3bbad9 (patch) | |
tree | 813d8fb60a4a5fe8bf4cbf316fb73621247647f3 /sot | |
parent | 0db89bcabfb4e207bed95b4a14685391311eaa3e (diff) |
Clean up remaining C-style casts among void pointers
Change-Id: I1b49c020d597b569e330482f4dbf20c15ccdae3f
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/sdstor/stgstrms.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sot/source/sdstor/stgstrms.cxx b/sot/source/sdstor/stgstrms.cxx index ca7f087f25c4..e90e823ccae3 100644 --- a/sot/source/sdstor/stgstrms.cxx +++ b/sot/source/sdstor/stgstrms.cxx @@ -984,7 +984,7 @@ sal_Int32 StgDataStrm::Write( const void* pBuf, sal_Int32 n ) } else // do a direct (unbuffered) write - nRes = (short) rIo.Write( nPage, (void*) p, 1 ) * nPageSize; + nRes = (short) rIo.Write( nPage, const_cast<void*>(p), 1 ) * nPageSize; } else { |