summaryrefslogtreecommitdiff
path: root/testtools
diff options
context:
space:
mode:
Diffstat (limited to 'testtools')
-rw-r--r--testtools/source/bridgetest/bridgetest.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/testtools/source/bridgetest/bridgetest.cxx b/testtools/source/bridgetest/bridgetest.cxx
index 9d2a6b1832e7..f0b5e9de557b 100644
--- a/testtools/source/bridgetest/bridgetest.cxx
+++ b/testtools/source/bridgetest/bridgetest.cxx
@@ -720,10 +720,11 @@ static bool performTest(
static_cast< sal_Int32 >(0x80000000), 1, 0x7FFFFFFF };
sal_Int32 _aInt = 0xBABEBABE;
float _aFloat = 3.14f;
- Any _any1(true);
- Any _any2(&_aInt, cppu::UnoType<sal_Int32>::get());
- Any _any3(&_aFloat, cppu::UnoType<float>::get());
- Any _arAny[] = { _any1, _any2, _any3 };
+ Any _arAny[] = {
+ Any(true),
+ Any(&_aInt, cppu::UnoType<sal_Int32>::get()),
+ Any(&_aFloat, cppu::UnoType<float>::get())
+ };
Reference< XInterface > _arObj[3];
_arObj[0] = new OWeakObject();
_arObj[1] = new OWeakObject();