summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2014-05-02 03:03:37 +1000
committerChris Sherlock <chris.sherlock79@gmail.com>2014-05-02 03:19:44 +1000
commitd0b3832bedf65d466b37a69036b0b4ba550a849b (patch)
tree693656cf377eb2eaf2ce12164794a0283b5bba25 /sw
parente97f19e96c094457ba98e3f89195cad4d814e8a3 (diff)
Fix 6b431b1f0d397067504b5300d49e10e232936836
Pushed wrong branch. Oops, sorry. Change-Id: I592cf16c7af3c5e37a03eee79e5822dcc0b39225
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/crsr/crsrsh.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/crsr/crsrsh.cxx b/sw/source/core/crsr/crsrsh.cxx
index c2d2639d8587..9958ede422ee 100644
--- a/sw/source/core/crsr/crsrsh.cxx
+++ b/sw/source/core/crsr/crsrsh.cxx
@@ -2511,7 +2511,7 @@ void SwCrsrShell::_ParkPams( SwPaM* pDelRg, SwShellCrsr** ppDelRing )
}
pTmpDel = 0;
}
- if( bGoNext && !bDelete )
+ if( bGoNext && !pTmp )
pTmp = (SwPaM*)pTmp->GetNext();
} while( !bGoNext || *ppDelRing != pTmp );