summaryrefslogtreecommitdiff
path: root/svl/source/items/lckbitem.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/items/lckbitem.cxx')
-rw-r--r--svl/source/items/lckbitem.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svl/source/items/lckbitem.cxx b/svl/source/items/lckbitem.cxx
index bb7bb89a9fa4..169219f416d4 100644
--- a/svl/source/items/lckbitem.cxx
+++ b/svl/source/items/lckbitem.cxx
@@ -121,7 +121,7 @@ bool SfxLockBytesItem::PutValue( const com::sun::star::uno::Any& rVal, sal_uInt8
if ( aSeq.getLength() )
{
SvMemoryStream* pStream = new SvMemoryStream();
- pStream->Write( (void*)aSeq.getConstArray(), aSeq.getLength() );
+ pStream->Write( aSeq.getConstArray(), aSeq.getLength() );
pStream->Seek(0);
_xVal = new SvLockBytes( pStream, true );