summaryrefslogtreecommitdiff
path: root/sw/source/core/layout/layact.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/layout/layact.cxx')
-rw-r--r--sw/source/core/layout/layact.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/core/layout/layact.cxx b/sw/source/core/layout/layact.cxx
index 033ed4a58b25..d6301a411901 100644
--- a/sw/source/core/layout/layact.cxx
+++ b/sw/source/core/layout/layact.cxx
@@ -2045,7 +2045,7 @@ sal_Bool SwLayIdle::_DoIdleJob( const SwCntntFrm *pCnt, IdleJobType eJob )
if( bProcess )
{
SwViewShell *pSh = pImp->GetShell();
- if( STRING_LEN == nTxtPos )
+ if( COMPLETE_STRING == nTxtPos )
{
--nTxtPos;
if( pSh->ISA(SwCrsrShell) && !((SwCrsrShell*)pSh)->IsTableMode() )
@@ -2175,7 +2175,7 @@ sal_Bool SwLayIdle::DoIdleJob( IdleJobType eJob, sal_Bool bVisAreaOnly )
pPage = (SwPageFrm*)pRoot->Lower();
pCntntNode = NULL;
- nTxtPos = STRING_LEN;
+ nTxtPos = COMPLETE_STRING;
while ( pPage )
{