diff --git a/sot/source/base/formats.cxx b/sot/source/base/formats.cxx index 12ca819b1db8..55211eb33672 100644 --- a/sot/source/base/formats.cxx +++ b/sot/source/base/formats.cxx @@ -1391,7 +1391,7 @@ static bool CheckTransferableContext_Impl( const Reference< XTransferable >* pxT if( aSeq.getLength() ) { - FILEGROUPDESCRIPTOR* pFDesc = (FILEGROUPDESCRIPTOR*) aSeq.getConstArray(); + FILEGROUPDESCRIPTOR const * pFDesc = reinterpret_cast(aSeq.getConstArray()); if( pFDesc->cItems ) {