summaryrefslogtreecommitdiff
path: root/basic/source/sbx/sbxbase.cxx
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 /basic/source/sbx/sbxbase.cxx
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 'basic/source/sbx/sbxbase.cxx')
-rw-r--r--basic/source/sbx/sbxbase.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/basic/source/sbx/sbxbase.cxx b/basic/source/sbx/sbxbase.cxx
index 0a88f5412a66..6e795a9efa30 100644
--- a/basic/source/sbx/sbxbase.cxx
+++ b/basic/source/sbx/sbxbase.cxx
@@ -27,7 +27,6 @@
#include <rtl/instance.hxx>
#include <rtl/ustring.hxx>
-#include <boost/foreach.hpp>
// AppData-Structure for SBX:
@@ -175,7 +174,7 @@ SbxBase* SbxBase::Create( sal_uInt16 nSbxId, sal_uInt32 nCreator )
// Unknown type: go over the factories!
SbxAppData& r = GetSbxData_Impl();
SbxBase* pNew = NULL;
- BOOST_FOREACH(SbxFactory& rFac, r.aFacs)
+ for( SbxFactory& rFac : r.aFacs )
{
pNew = rFac.Create( nSbxId, nCreator );
if( pNew )
@@ -189,7 +188,7 @@ SbxObject* SbxBase::CreateObject( const OUString& rClass )
{
SbxAppData& r = GetSbxData_Impl();
SbxObject* pNew = NULL;
- BOOST_FOREACH(SbxFactory& rFac, r.aFacs)
+ for( SbxFactory& rFac : r.aFacs )
{
pNew = rFac.CreateObject( rClass );
if( pNew )