summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--testtools/source/bridgetest/bridgetest.cxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/testtools/source/bridgetest/bridgetest.cxx b/testtools/source/bridgetest/bridgetest.cxx
index a82bfc28f795..fc03a853887a 100644
--- a/testtools/source/bridgetest/bridgetest.cxx
+++ b/testtools/source/bridgetest/bridgetest.cxx
@@ -270,14 +270,12 @@ static sal_Bool performAnyTest( const Reference< XBridgeTest > &xLBT, const Test
Any a;
{
a.setValue( &(data.Bool) , getCppuBooleanType() );
- Any a2 = xLBT->transportAny( a );
- OSL_ASSERT( a2 == a );
+ OSL_ASSERT( xLBT->transportAny( a ) == a );
}
{
a.setValue( &(data.Char) , getCppuCharType() );
- Any a2 = xLBT->transportAny( a );
- OSL_ASSERT( a2 == a );
+ OSL_ASSERT( xLBT->transportAny( a ) == a );
}
return bReturn;