summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/text/frmcrsr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/text/frmcrsr.cxx b/sw/source/core/text/frmcrsr.cxx
index c5dead749156..4c23e0de1e2b 100644
--- a/sw/source/core/text/frmcrsr.cxx
+++ b/sw/source/core/text/frmcrsr.cxx
@@ -119,7 +119,7 @@ bool sw_ChangeOffset( SwTxtFrm* pFrm, sal_Int32 nNew )
SwViewShell* pVsh = pFrm->getRootFrm()->GetCurrShell();
if( pVsh )
{
- if( pVsh->GetNext() != pVsh ||
+ if( pVsh->GetRingContainer().size() > 1 ||
( pFrm->GetDrawObjs() && pFrm->GetDrawObjs()->size() ) )
{
if( !pFrm->GetOfst() )