summaryrefslogtreecommitdiff
path: root/sd/source/ui/tools/TimerBasedTaskExecution.cxx
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 /sd/source/ui/tools/TimerBasedTaskExecution.cxx
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 'sd/source/ui/tools/TimerBasedTaskExecution.cxx')
-rw-r--r--sd/source/ui/tools/TimerBasedTaskExecution.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sd/source/ui/tools/TimerBasedTaskExecution.cxx b/sd/source/ui/tools/TimerBasedTaskExecution.cxx
index b3343b701b2d5..ae1f2233f91ff 100644
--- a/sd/source/ui/tools/TimerBasedTaskExecution.cxx
+++ b/sd/source/ui/tools/TimerBasedTaskExecution.cxx
@@ -84,6 +84,7 @@ TimerBasedTaskExecution::TimerBasedTaskExecution (
sal_uInt32 nMillisecondsBetweenSteps,
sal_uInt32 nMaxTimePerStep)
: mpTask(rpTask),
+ maTimer("sd TimerBasedTaskExecution maTimer"),
mnMaxTimePerStep(nMaxTimePerStep)
{
maTimer.SetInvokeHandler( LINK(this,TimerBasedTaskExecution,TimerCallback) );