summaryrefslogtreecommitdiff
path: root/cppu
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-05-11 12:49:21 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-05-11 12:49:21 +0200
commit7e61f39f894be185cb8bb3f51034d45556672c0e (patch)
tree22f01f4c028312373bf786ac4d2a68db4bda4789 /cppu
parent3394622e05d5db1c755fbf2a34e2b6ea89f26535 (diff)
loplugin:cstylecast: nop between pointer types of exactly same spelling
Change-Id: Id980379f57590759ebc9b862aad3c6dfb04ddef7
Diffstat (limited to 'cppu')
-rw-r--r--cppu/source/uno/copy.hxx2
1 files changed, 1 insertions, 1 deletions
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<void **>(pElements)[nPos] = 0;
- if (((void **)pSourceElements)[nPos])
+ if (pSourceElements[nPos])
{
(*mapping->mapInterface)(
mapping, reinterpret_cast<void **>(pElements) + nPos,