From 7e61f39f894be185cb8bb3f51034d45556672c0e Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 11 May 2015 12:49:21 +0200 Subject: loplugin:cstylecast: nop between pointer types of exactly same spelling Change-Id: Id980379f57590759ebc9b862aad3c6dfb04ddef7 --- cppu/source/uno/copy.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cppu') diff --git a/cppu/source/uno/copy.hxx b/cppu/source/uno/copy.hxx index 322238ff640f..f082803d66a2 100644 --- a/cppu/source/uno/copy.hxx +++ b/cppu/source/uno/copy.hxx @@ -485,7 +485,7 @@ inline uno_Sequence * icopyConstructSequence( for ( sal_Int32 nPos = nElements; nPos--; ) { reinterpret_cast(pElements)[nPos] = 0; - if (((void **)pSourceElements)[nPos]) + if (pSourceElements[nPos]) { (*mapping->mapInterface)( mapping, reinterpret_cast(pElements) + nPos, -- cgit v1.2.3