diff options
author | Noel Grandin <noel@peralex.com> | 2015-10-29 13:57:50 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-10-30 08:10:22 +0200 |
commit | addb63fa8ac9fa1a29a00e886e7ae177b604494c (patch) | |
tree | 53b95e2a5ba086b62b511278a3283321962ba6f9 /testtools/source/bridgetest | |
parent | f53343320101bfe650f5fe2cdf95f94995778037 (diff) |
convert Sequence<XInterface> constructions to use initializer lists
Change-Id: I66475190cc0f18465c56b94af7bc0d5a1ca81242
Diffstat (limited to 'testtools/source/bridgetest')
-rw-r--r-- | testtools/source/bridgetest/cppobj.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testtools/source/bridgetest/cppobj.cxx b/testtools/source/bridgetest/cppobj.cxx index a48a1313d96e..eee2194febd4 100644 --- a/testtools/source/bridgetest/cppobj.cxx +++ b/testtools/source/bridgetest/cppobj.cxx @@ -1036,8 +1036,8 @@ void Test_Impl::testConstructorsService( Constructors::create2(context, args); Sequence<Type> argSeq1(1); argSeq1[0] = cppu::UnoType<sal_Int32>::get(); - Sequence<Reference<XInterface> > argSeq2(1); argSeq2[0] = static_cast<XComponent*>(new Dummy()); - Sequence<Reference<XComponent> > argSeq2a(1); argSeq2a[0] = static_cast<XComponent*>(new Dummy()); + Sequence<Reference<XInterface> > argSeq2 { static_cast<XComponent*>(new Dummy()) }; + Sequence<Reference<XComponent> > argSeq2a { static_cast<XComponent*>(new Dummy()) }; Sequence<TestPolyStruct2<sal_Unicode, Sequence<Any> > > argSeq3(1); argSeq3[0] = TestPolyStruct2<sal_Unicode, Sequence<Any> >('X', arg27); |