diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-28 12:03:35 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-07-29 08:53:23 +0200 |
commit | 0d36b32755ac662299e6a8165e9fa57311b74a2f (patch) | |
tree | ce68c6d050056858dbf31033d7d3a3741aab2276 /cppuhelper | |
parent | f53fcf9cfcc0bef415f9d2d95132ccd8bbe96061 (diff) |
loplugin:sequentialassign
Change-Id: I56a9bf698b60bd278c71cc632aacef2bd2f4c13f
Reviewed-on: https://gerrit.libreoffice.org/76501
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'cppuhelper')
-rw-r--r-- | cppuhelper/qa/ifcontainer/cppu_ifcontainer.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cppuhelper/qa/ifcontainer/cppu_ifcontainer.cxx b/cppuhelper/qa/ifcontainer/cppu_ifcontainer.cxx index e7727cc5f2ce..43a9d87df927 100644 --- a/cppuhelper/qa/ifcontainer/cppu_ifcontainer.cxx +++ b/cppuhelper/qa/ifcontainer/cppu_ifcontainer.cxx @@ -107,8 +107,7 @@ namespace cppu_ifcontainer pContainer->addInterface(xRef); aListeners.push_back(xRef); } - Sequence< Reference< XInterface > > aElements; - aElements = pContainer->getElements(); + Sequence< Reference< XInterface > > aElements = pContainer->getElements(); CPPUNIT_ASSERT_MESSAGE("query contents", bool(static_cast<int>(aElements.getLength()) == nTests)); |