diff options
author | Nathan Yee <ny.nathan.yee@gmail.com> | 2015-01-01 10:50:39 -0800 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-01-05 09:34:08 +0000 |
commit | a509a8d9951a0c31bea0f4ff8942720cad8b6e7f (patch) | |
tree | d4494eb4ec45284869a373316a135ee1b181ac64 /sw/qa | |
parent | df5fa4082cfb17c5d5be6678995689485df6d429 (diff) |
Resolves: fdo#87003 Kill BOOST_FOREACH on master
use C++11s range-based for() loops instead
Conflicts:
sd/source/filter/eppt/pptx-epptooxml.cxx
Change-Id: I0868eb345932c05b7e40b087035da252b99bf0b9
Reviewed-on: https://gerrit.libreoffice.org/13714
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/qa')
-rw-r--r-- | sw/qa/core/uwriter.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/qa/core/uwriter.cxx b/sw/qa/core/uwriter.cxx index f1232ccb4662..80c4ce4ec019 100644 --- a/sw/qa/core/uwriter.cxx +++ b/sw/qa/core/uwriter.cxx @@ -10,7 +10,6 @@ #include <sal/config.h> #include <test/bootstrapfixture.hxx> -#include <boost/foreach.hpp> #include <rtl/strbuf.hxx> #include <osl/file.hxx> @@ -1317,7 +1316,7 @@ void SwDocTest::testIntrusiveRing() aRing5.MoveTo(&aRing4); CPPUNIT_ASSERT_EQUAL(aRing4.GetRingContainer().size(), static_cast<size_t>(2)); aRing4.GetRingContainer().merge(aRing1.GetRingContainer()); - BOOST_FOREACH(TestRing* pRing, vRings) + for(TestRing* pRing : vRings) { CPPUNIT_ASSERT_EQUAL(pRing->GetRingContainer().size(), static_cast<size_t>(5)); } |