summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/edimp.hxx1
-rw-r--r--sw/inc/pch/precompiled_sw.hxx1
-rw-r--r--sw/source/core/doc/DocumentLinksAdministrationManager.cxx1
-rw-r--r--sw/source/core/doc/docbm.cxx1
-rw-r--r--sw/source/core/docnode/ndtbl.cxx2
-rw-r--r--sw/source/core/edit/autofmt.cxx1
-rw-r--r--sw/source/core/tox/ToxTextGenerator.cxx1
7 files changed, 2 insertions, 6 deletions
diff --git a/sw/inc/edimp.hxx b/sw/inc/edimp.hxx
index 44d53e8785f1..63ef3d0ac332 100644
--- a/sw/inc/edimp.hxx
+++ b/sw/inc/edimp.hxx
@@ -22,7 +22,6 @@
#include <tools/solar.h>
#include <o3tl/sorted_vector.hxx>
-#include <boost/foreach.hpp>
class SwPaM;
class SwNodeIndex;
diff --git a/sw/inc/pch/precompiled_sw.hxx b/sw/inc/pch/precompiled_sw.hxx
index c52354d3288b..9ac41daa9315 100644
--- a/sw/inc/pch/precompiled_sw.hxx
+++ b/sw/inc/pch/precompiled_sw.hxx
@@ -45,7 +45,6 @@
#include <basic/sbxobj.hxx>
#include <basic/sbxvar.hxx>
#include <boost/bind.hpp>
-#include <boost/foreach.hpp>
#include <boost/function.hpp>
#include <boost/make_shared.hpp>
#include <boost/noncopyable.hpp>
diff --git a/sw/source/core/doc/DocumentLinksAdministrationManager.cxx b/sw/source/core/doc/DocumentLinksAdministrationManager.cxx
index 85059402f2dd..5a549519a987 100644
--- a/sw/source/core/doc/DocumentLinksAdministrationManager.cxx
+++ b/sw/source/core/doc/DocumentLinksAdministrationManager.cxx
@@ -45,7 +45,6 @@
#include <tools/urlobj.hxx>
#include <unotools/charclass.hxx>
-
using namespace ::com::sun::star;
//Helper functions for this file
diff --git a/sw/source/core/doc/docbm.cxx b/sw/source/core/doc/docbm.cxx
index 9567c3ab7606..510c5acf1acc 100644
--- a/sw/source/core/doc/docbm.cxx
+++ b/sw/source/core/doc/docbm.cxx
@@ -20,7 +20,6 @@
#include <MarkManager.hxx>
#include <bookmrk.hxx>
#include <boost/bind.hpp>
-#include <boost/foreach.hpp>
#include <boost/function.hpp>
#include <cntfrm.hxx>
#include <crossrefbookmark.hxx>
diff --git a/sw/source/core/docnode/ndtbl.cxx b/sw/source/core/docnode/ndtbl.cxx
index eda68f0c66e9..c779ceaa5816 100644
--- a/sw/source/core/docnode/ndtbl.cxx
+++ b/sw/source/core/docnode/ndtbl.cxx
@@ -3688,8 +3688,10 @@ static bool lcl_SetAFmtBox( _FndBox & rBox, _SetAFmtTabPara *pSetPara )
}
}
else
+ {
for( _FndLine& rFndLine : rBox.GetLines() )
lcl_SetAFmtLine( rFndLine, pSetPara );
+ }
if (!rBox.GetUpper()->GetUpper()) // a BaseLine
++pSetPara->nCurBox;
diff --git a/sw/source/core/edit/autofmt.cxx b/sw/source/core/edit/autofmt.cxx
index 1410cac9a320..4b81d4c22317 100644
--- a/sw/source/core/edit/autofmt.cxx
+++ b/sw/source/core/edit/autofmt.cxx
@@ -67,7 +67,6 @@
#include <numrule.hxx>
#include <boost/scoped_ptr.hpp>
-#include <boost/foreach.hpp>
using namespace ::com::sun::star;
diff --git a/sw/source/core/tox/ToxTextGenerator.cxx b/sw/source/core/tox/ToxTextGenerator.cxx
index f7ef3f979960..56f753f75a8a 100644
--- a/sw/source/core/tox/ToxTextGenerator.cxx
+++ b/sw/source/core/tox/ToxTextGenerator.cxx
@@ -41,7 +41,6 @@
#include "svl/itemiter.hxx"
-#include <boost/foreach.hpp>
#include <boost/make_shared.hpp>
#include <cassert>