summaryrefslogtreecommitdiff
path: root/sw/source/core/doc/doccorr.cxx
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2014-12-03 08:59:10 +0100
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2014-12-03 09:24:11 +0100
commitacf5b740e3dc763eb53c3fdf507a27479386728e (patch)
tree2bb2496b71f02b969a5902d179ae40ac30ffdbd7 /sw/source/core/doc/doccorr.cxx
parent1801b559e1234cf1f43a414df38bb47fe81f087a (diff)
move container stuff out of sw::Ring<>
Change-Id: Idf72c16318735d6b3ef7f421aceacc225a7697bf
Diffstat (limited to 'sw/source/core/doc/doccorr.cxx')
-rw-r--r--sw/source/core/doc/doccorr.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/doc/doccorr.cxx b/sw/source/core/doc/doccorr.cxx
index 5dc2ca001f05..eaf11f6691ad 100644
--- a/sw/source/core/doc/doccorr.cxx
+++ b/sw/source/core/doc/doccorr.cxx
@@ -99,7 +99,7 @@ void PaMCorrAbs( const SwPaM& rRange,
if( pShell )
{
- BOOST_FOREACH(const SwViewShell& rShell, pShell->rangeRing())
+ for(const SwViewShell& rShell : pShell->GetRingContainer())
{
if(!rShell.IsA( TYPE( SwCrsrShell )))
continue;
@@ -249,7 +249,7 @@ void PaMCorrRel( const SwNodeIndex &rOldNode,
SwCrsrShell const* pShell = pDoc->GetEditShell();
if( pShell )
{
- BOOST_FOREACH(const SwViewShell& rShell, pShell->rangeRing())
+ for(const SwViewShell& rShell : pShell->GetRingContainer())
{
if(!rShell.IsA( TYPE( SwCrsrShell )))
continue;
@@ -262,7 +262,7 @@ void PaMCorrRel( const SwNodeIndex &rOldNode,
((_pStkCrsr = static_cast<SwPaM *>(_pStkCrsr->GetNext())) != pCrsrShell->GetStkCrsr()) );
SwPaM* pStartPaM = pCrsrShell->_GetCrsr();
- BOOST_FOREACH(SwPaM& rPaM, pStartPaM->rangeRing())
+ for(SwPaM& rPaM : pStartPaM->GetRingContainer())
{
lcl_PaMCorrRel1( &rPaM, pOldNode, aNewPos, nCntIdx);
}