summaryrefslogtreecommitdiff
path: root/sot
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-10-14 16:51:53 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-10-15 07:59:35 +0000
commit5a4325ea23b36da5facb0163cd940f900fa28a3b (patch)
treeccc0cbc441ff344bfe24d2b9e48587746f35cf3a /sot
parent6e64342d34f97db9dcb70426d44c0fb5efec4fc0 (diff)
clang-cl loplugin: sot
Change-Id: I5f6db6802c99568255832fc94b72d1df38a6460c Reviewed-on: https://gerrit.libreoffice.org/29849 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'sot')
-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 )
{