summaryrefslogtreecommitdiff
path: root/editeng/source/editeng
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-09-28 10:59:43 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-09-28 19:35:13 +0200
commitd72511eda923c827a6175bec9b8f24c237f82730 (patch)
tree2f0173ce3a9ff08b9cfccad0313db9a142f1a6ba /editeng/source/editeng
parent0bcc4b55d723f73b2fb7a86fcfebeca49905079e (diff)
gives names to all the Idles and Tasks
enforce it by making the constructor parameter non-default. Change-Id: I321543e4dcf15ea0a43ad8cce91d2f8dc22df6ec Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122766 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'editeng/source/editeng')
-rw-r--r--editeng/source/editeng/impedit2.cxx5
-rw-r--r--editeng/source/editeng/impedit5.cxx1
2 files changed, 3 insertions, 3 deletions
diff --git a/editeng/source/editeng/impedit2.cxx b/editeng/source/editeng/impedit2.cxx
index 90b7603a6b93..5a3fc449a9e3 100644
--- a/editeng/source/editeng/impedit2.cxx
+++ b/editeng/source/editeng/impedit2.cxx
@@ -105,6 +105,8 @@ ImpEditEngine::ImpEditEngine( EditEngine* pEE, SfxItemPool* pItemPool ) :
eDefLanguage(LANGUAGE_DONTKNOW),
nCurTextHeight(0),
nCurTextHeightNTP(0),
+ aOnlineSpellTimer( "editeng::ImpEditEngine aOnlineSpellTimer" ),
+ aStatusTimer( "editeng::ImpEditEngine aStatusTimer" ),
bKernAsianPunctuation(false),
bAddExtLeading(false),
bIsFormatting(false),
@@ -131,15 +133,12 @@ ImpEditEngine::ImpEditEngine( EditEngine* pEE, SfxItemPool* pItemPool ) :
aStatusTimer.SetTimeout( 200 );
aStatusTimer.SetInvokeHandler( LINK( this, ImpEditEngine, StatusTimerHdl ) );
- aStatusTimer.SetDebugName( "editeng::ImpEditEngine aStatusTimer" );
aIdleFormatter.SetPriority( TaskPriority::REPAINT );
aIdleFormatter.SetInvokeHandler( LINK( this, ImpEditEngine, IdleFormatHdl ) );
- aIdleFormatter.SetDebugName( "editeng::ImpEditEngine aIdleFormatter" );
aOnlineSpellTimer.SetTimeout( 100 );
aOnlineSpellTimer.SetInvokeHandler( LINK( this, ImpEditEngine, OnlineSpellHdl ) );
- aOnlineSpellTimer.SetDebugName( "editeng::ImpEditEngine aOnlineSpellTimer" );
// Access data already from here on!
SetRefDevice( nullptr );
diff --git a/editeng/source/editeng/impedit5.cxx b/editeng/source/editeng/impedit5.cxx
index 6a5842d61886..c9d7563e2ffe 100644
--- a/editeng/source/editeng/impedit5.cxx
+++ b/editeng/source/editeng/impedit5.cxx
@@ -783,6 +783,7 @@ void ImpEditEngine::ParaAttribsToCharAttribs( ContentNode* pNode )
}
IdleFormattter::IdleFormattter()
+ : Idle("editeng::ImpEditEngine aIdleFormatter")
{
pView = nullptr;
nRestarts = 0;