diff options
Diffstat (limited to 'testtools')
-rw-r--r-- | testtools/source/bridgetest/bridgetest.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/testtools/source/bridgetest/bridgetest.cxx b/testtools/source/bridgetest/bridgetest.cxx index f6d63bbc606c..940be0021116 100644 --- a/testtools/source/bridgetest/bridgetest.cxx +++ b/testtools/source/bridgetest/bridgetest.cxx @@ -1066,8 +1066,10 @@ uno_Sequence* cloneSequence(const uno_Sequence* val, const Type& type) Type _tElem(pTdElem->pWeakRef); for (int i = 0; i < val->nElements; i++) { + sal_Int8 *pValBuf = (sal_Int8 *)(&val->elements + i * pTdElem->nSize); + uno_Sequence* seq = cloneSequence( - *(uno_Sequence**) (&val->elements + i * pTdElem->nSize), + *(uno_Sequence**) (pValBuf), _tElem); *((uno_Sequence**) pBufCur) = seq; pBufCur += pTdElem->nSize; |