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 /forms | |
parent | 0db89bcabfb4e207bed95b4a14685391311eaa3e (diff) |
Clean up remaining C-style casts among void pointers
Change-Id: I1b49c020d597b569e330482f4dbf20c15ccdae3f
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/component/DatabaseForm.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/component/DatabaseForm.cxx b/forms/source/component/DatabaseForm.cxx index 82a6d7822eaf..672e7c489ec3 100644 --- a/forms/source/component/DatabaseForm.cxx +++ b/forms/source/component/DatabaseForm.cxx @@ -569,11 +569,11 @@ Sequence<sal_Int8> ODatabaseForm::GetDataMultiPartEncoded(const Reference<XContr aMemStream.Flush(); aMemStream.Seek( 0 ); - void* pData = (void*)aMemStream.GetData(); + void const * pData = aMemStream.GetData(); sal_Int32 nLen = aMemStream.Seek(STREAM_SEEK_TO_END); rContentType = aParent.GetContentType(); - return Sequence<sal_Int8>(static_cast<sal_Int8*>(pData), nLen); + return Sequence<sal_Int8>(static_cast<sal_Int8 const *>(pData), nLen); } |