From 5a4325ea23b36da5facb0163cd940f900fa28a3b Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Fri, 14 Oct 2016 16:51:53 +0200 Subject: [PATCH] clang-cl loplugin: sot Change-Id: I5f6db6802c99568255832fc94b72d1df38a6460c Reviewed-on: https://gerrit.libreoffice.org/29849 Tested-by: Jenkins Reviewed-by: Stephan Bergmann --- sot/source/base/formats.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) {