diff options
-rw-r--r-- | cppu/source/uno/copy.hxx | 2 |
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, |