summaryrefslogtreecommitdiff
path: root/io/source/stm/streamhelper.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-03-28 19:04:39 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-03-28 19:09:22 +0100
commit43c745912d9d4e9ee95879568853cb08fa6f6d27 (patch)
tree7ca6499d5b76df9949204c44320b4ff62fe288b4 /io/source/stm/streamhelper.cxx
parent6f7d641da14f595efdc32ee5160fc053096e291f (diff)
Clean up C-style casts from pointers to void
Change-Id: I5f2240b6ac5210f185081bec891ad6d3f7901679
Diffstat (limited to 'io/source/stm/streamhelper.cxx')
-rw-r--r--io/source/stm/streamhelper.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/io/source/stm/streamhelper.cxx b/io/source/stm/streamhelper.cxx
index c305539f2162..988fb24a5c13 100644
--- a/io/source/stm/streamhelper.cxx
+++ b/io/source/stm/streamhelper.cxx
@@ -106,7 +106,7 @@ void MemRingBuffer::resizeBuffer( sal_Int32 nMinSize ) throw( IRingBuffer_OutOfM
}
if( nNewLen != m_nBufferLen ) {
- m_p = ( sal_Int8 * ) rtl_reallocateMemory( m_p , nNewLen );
+ m_p = static_cast<sal_Int8 *>(rtl_reallocateMemory( m_p , nNewLen ));
if( !m_p ) {
throw IRingBuffer_OutOfMemoryException();
}