summaryrefslogtreecommitdiff
path: root/svx/qa
diff options
context:
space:
mode:
authorNathan Yee <ny.nathan.yee@gmail.com>2015-01-01 10:50:39 -0800
committerCaolán McNamara <caolanm@redhat.com>2015-01-05 09:34:08 +0000
commita509a8d9951a0c31bea0f4ff8942720cad8b6e7f (patch)
treed4494eb4ec45284869a373316a135ee1b181ac64 /svx/qa
parentdf5fa4082cfb17c5d5be6678995689485df6d429 (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 'svx/qa')
-rw-r--r--svx/qa/unit/svdraw/test_SdrTextObject.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/svx/qa/unit/svdraw/test_SdrTextObject.cxx b/svx/qa/unit/svdraw/test_SdrTextObject.cxx
index fe16805ade14..3b8264deba6e 100644
--- a/svx/qa/unit/svdraw/test_SdrTextObject.cxx
+++ b/svx/qa/unit/svdraw/test_SdrTextObject.cxx
@@ -15,8 +15,6 @@
#include <cppunit/extensions/HelperMacros.h>
#include <cppunit/plugin/TestPlugIn.h>
-#include <boost/foreach.hpp>
-
class SdrTextObjTest : public CppUnit::TestFixture {
public:
void AllFamiliesCanBeRestoredFromSavedString();
@@ -33,7 +31,7 @@ void SdrTextObjTest::AllFamiliesCanBeRestoredFromSavedString() {
allFamilies.push_back(SFX_STYLE_FAMILY_PAGE);
allFamilies.push_back(SFX_STYLE_FAMILY_PSEUDO);
- BOOST_FOREACH(SfxStyleFamily family, allFamilies) {
+ for (SfxStyleFamily family : allFamilies) {
OUString styleName = "styleName";
SdrTextObj::AppendFamilyToStyleName(styleName, family);
SfxStyleFamily readFamily = SdrTextObj::ReadFamilyFromStyleName(styleName);