summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorMichael Stahl <michael.stahl@allotropia.de>2021-04-30 17:06:59 +0200
committerMichael Stahl <michael.stahl@allotropia.de>2021-04-30 19:29:30 +0200
commitc926974ec1a4dbb72f273927fed0bc2f5e19c374 (patch)
tree40b2245b4b2d0f7f25ddb7127aa7216981210c92 /sw/source
parent4184569b963877c2a488ff05766654b9db194798 (diff)
sw: add some SAL_INFO on DoIdleJob interrupt
Change-Id: I44df06ab4bad1a5e0aaf5409590f5d7869f33482 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114937 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/layout/layact.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/sw/source/core/layout/layact.cxx b/sw/source/core/layout/layact.cxx
index 422b8aee0c46..4a811e171ddc 100644
--- a/sw/source/core/layout/layact.cxx
+++ b/sw/source/core/layout/layact.cxx
@@ -2088,7 +2088,10 @@ bool SwLayIdle::DoIdleJob( IdleJobType eJob, bool bVisAreaOnly )
while( pCnt && pPage->IsAnLower( pCnt ) )
{
if ( DoIdleJob_( pCnt, eJob ) )
+ {
+ SAL_INFO("sw.idle", "DoIdleJob " << eJob << " interrupted on page " << pPage->GetPhyPageNum());
return true;
+ }
pCnt = pCnt->GetNextContentFrame();
}
if ( pPage->GetSortedObjs() )
@@ -2105,7 +2108,10 @@ bool SwLayIdle::DoIdleJob( IdleJobType eJob, bool bVisAreaOnly )
if ( pC->IsTextFrame() )
{
if ( DoIdleJob_( pC, eJob ) )
+ {
+ SAL_INFO("sw.idle", "DoIdleJob " << eJob << " interrupted on page " << pPage->GetPhyPageNum());
return true;
+ }
}
pC = pC->GetNextContentFrame();
}