summaryrefslogtreecommitdiff
path: root/testtools
diff options
context:
space:
mode:
Diffstat (limited to 'testtools')
-rw-r--r--testtools/source/bridgetest/bridgetest.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/testtools/source/bridgetest/bridgetest.cxx b/testtools/source/bridgetest/bridgetest.cxx
index f0b5e9de557b..c438459b5406 100644
--- a/testtools/source/bridgetest/bridgetest.cxx
+++ b/testtools/source/bridgetest/bridgetest.cxx
@@ -174,11 +174,9 @@ static bool equals( const TestData & rData1, const TestData & rData2 )
if (nLen == rData2.Sequence.getLength())
{
// once again by hand sequence ==
- const TestElement * pElements1 = rData1.Sequence.getConstArray();
- const TestElement * pElements2 = rData2.Sequence.getConstArray();
for ( ; nLen--; )
{
- if (! equals( pElements1[nLen], pElements2[nLen] ))
+ if (!equals(rData1.Sequence[nLen], rData2.Sequence[nLen]))
{
check( false, "### sequence element did not match!" );
return false;