summaryrefslogtreecommitdiff
path: root/sot/source/base
diff options
context:
space:
mode:
Diffstat (limited to 'sot/source/base')
-rw-r--r--sot/source/base/formats.cxx2
1 files changed, 1 insertions, 1 deletions
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<FILEGROUPDESCRIPTOR const *>(aSeq.getConstArray());
if( pFDesc->cItems )
{