Kaydet (Commit) a74aa43a authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Reduce to static_cast any reinterpret_cast from void pointers

Change-Id: Ie38450a082dc840714051ad65c297886038e68f3
üst b3105952
...@@ -766,7 +766,7 @@ storeError MemoryLockBytes::setSize_Impl (sal_uInt32 nSize) ...@@ -766,7 +766,7 @@ storeError MemoryLockBytes::setSize_Impl (sal_uInt32 nSize)
{ {
if (nSize != m_nSize) if (nSize != m_nSize)
{ {
sal_uInt8 * pData = reinterpret_cast<sal_uInt8*>(rtl_reallocateMemory (m_pData, nSize)); sal_uInt8 * pData = static_cast<sal_uInt8*>(rtl_reallocateMemory (m_pData, nSize));
if (pData != 0) if (pData != 0)
{ {
if (nSize > m_nSize) if (nSize > m_nSize)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment