summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorLászló Németh <laszlo.nemeth@collabora.com>2017-04-27 11:30:14 +0200
committerMiklos Vajna <vmiklos@collabora.co.uk>2017-06-19 08:51:32 +0200
commit379196bf95f860366312a12d8b7934462c990337 (patch)
tree0b71ef9404003e3781b4fd6d1c66165a7bdc4de4 /sd
parentbd72163f21375cd216dcd25568b05527063ea726 (diff)
add more debug names for scheduled events
Change-Id: Idb85ffe13fd5e23b9378c03b5f239f29f8008276 Reviewed-on: https://gerrit.libreoffice.org/38788 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/framework/configuration/ConfigurationUpdater.cxx1
-rw-r--r--sd/source/ui/slidesorter/cache/SlsCacheConfiguration.cxx1
-rw-r--r--sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx1
3 files changed, 3 insertions, 0 deletions
diff --git a/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx b/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx
index 81517fff0d04..c3ef922b60ea 100644
--- a/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx
+++ b/sd/source/ui/framework/configuration/ConfigurationUpdater.cxx
@@ -77,6 +77,7 @@ ConfigurationUpdater::ConfigurationUpdater (
// and the requested configuration differ. With the timer we try
// updates until the two configurations are the same.
maUpdateTimer.SetTimeout(snNormalTimeout);
+ maUpdateTimer.SetDebugName("sd::ConfigurationUpdater maUpdateTimer");
maUpdateTimer.SetInvokeHandler(LINK(this,ConfigurationUpdater,TimeoutHandler));
mxControllerManager = rxControllerManager;
}
diff --git a/sd/source/ui/slidesorter/cache/SlsCacheConfiguration.cxx b/sd/source/ui/slidesorter/cache/SlsCacheConfiguration.cxx
index 48755ba33a48..1e8765830c6f 100644
--- a/sd/source/ui/slidesorter/cache/SlsCacheConfiguration.cxx
+++ b/sd/source/ui/slidesorter/cache/SlsCacheConfiguration.cxx
@@ -60,6 +60,7 @@ std::shared_ptr<CacheConfiguration> CacheConfiguration::Instance()
maReleaseTimer.SetInvokeHandler(
LINK(rInstancePtr.get(),CacheConfiguration,TimerCallback));
maReleaseTimer.SetTimeout(5000 /* 5s */);
+ maReleaseTimer.SetDebugName("sd::CacheConfiguration maReleaseTimer");
maReleaseTimer.Start();
}
}
diff --git a/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx b/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx
index 226df8a516ac..3ce3d6377130 100644
--- a/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx
+++ b/sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx
@@ -43,6 +43,7 @@ QueueProcessor::QueueProcessor (
{
maTimer.SetInvokeHandler (LINK(this,QueueProcessor,ProcessRequestHdl));
maTimer.SetTimeout (10);
+ maTimer.SetDebugName ("sd::QueueProcessor maTimer");
}
QueueProcessor::~QueueProcessor()