[Libreoffice-commits] core.git: sd/source sfx2/source svtools/source svx/source
László Németh
laszlo.nemeth at collabora.com
Mon Jun 19 06:51:57 UTC 2017
sd/source/ui/framework/configuration/ConfigurationUpdater.cxx | 1 +
sd/source/ui/slidesorter/cache/SlsCacheConfiguration.cxx | 1 +
sd/source/ui/slidesorter/cache/SlsQueueProcessor.cxx | 1 +
sfx2/source/control/itemdel.cxx | 1 +
svtools/source/graphic/grfcache.cxx | 1 +
svx/source/stbctrls/modctrl.cxx | 1 +
6 files changed, 6 insertions(+)
New commits:
commit 379196bf95f860366312a12d8b7934462c990337
Author: László Németh <laszlo.nemeth at collabora.com>
Date: Thu Apr 27 11:30:14 2017 +0200
add more debug names for scheduled events
Change-Id: Idb85ffe13fd5e23b9378c03b5f239f29f8008276
Reviewed-on: https://gerrit.libreoffice.org/38788
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>
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()
diff --git a/sfx2/source/control/itemdel.cxx b/sfx2/source/control/itemdel.cxx
index ab29780eaa49..4080dd91f9eb 100644
--- a/sfx2/source/control/itemdel.cxx
+++ b/sfx2/source/control/itemdel.cxx
@@ -46,6 +46,7 @@ SfxItemDisruptor_Impl::SfxItemDisruptor_Impl(SfxPoolItem *const pItemToDisrupt)
{
m_Idle.SetInvokeHandler(LINK(this, SfxItemDisruptor_Impl, Delete));
m_Idle.SetPriority(TaskPriority::DEFAULT_IDLE);
+ m_Idle.SetDebugName("sfx::SfxItemDisruptor_Impl m_Idle");
DBG_ASSERT( 0 == pItem->GetRefCount(), "disrupting pooled item" );
pItem->SetKind(SfxItemKind::DeleteOnIdle);
diff --git a/svtools/source/graphic/grfcache.cxx b/svtools/source/graphic/grfcache.cxx
index 4c8adaf767e2..4fbc04362a5c 100644
--- a/svtools/source/graphic/grfcache.cxx
+++ b/svtools/source/graphic/grfcache.cxx
@@ -831,6 +831,7 @@ GraphicCache::GraphicCache( sal_uLong nDisplayCacheSize, sal_uLong nMaxObjDispla
{
maReleaseTimer.SetInvokeHandler( LINK( this, GraphicCache, ReleaseTimeoutHdl ) );
maReleaseTimer.SetTimeout( 10000 );
+ maReleaseTimer.SetDebugName( "svtools::GraphicCache maReleaseTimer" );
maReleaseTimer.Start();
}
diff --git a/svx/source/stbctrls/modctrl.cxx b/svx/source/stbctrls/modctrl.cxx
index 33b0bd5e3c95..1ace4873094d 100644
--- a/svx/source/stbctrls/modctrl.cxx
+++ b/svx/source/stbctrls/modctrl.cxx
@@ -60,6 +60,7 @@ struct SvxModifyControl::ImplData
maImages[MODIFICATION_STATE_FEEDBACK] = Image(BitmapEx(RID_SVXBMP_DOC_MODIFIED_FEEDBACK));
maIdle.SetPriority(TaskPriority::LOWEST);
+ maIdle.SetDebugName("svx::SvxModifyControl maIdle");
}
};
More information about the Libreoffice-commits
mailing list