diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2016-07-20 10:54:30 +0200 |
---|---|---|
committer | Ashod Nakashian <ashod.nakashian@collabora.co.uk> | 2017-12-05 08:17:46 -0500 |
commit | 4ffee8f4532cc561cd0c717b4bd6e52a99f5c43d (patch) | |
tree | b81098e0b953f32810ba5ae1b842be26ead96d9e /svx | |
parent | 4d6750e789c4dd6d75398021b9f804dcd5aab78f (diff) |
tdf#97087 GDB pretty print the Scheduler task list
In addition to the GDB pretty printer, this annotates a lot more
Timers and Idles.
Change-Id: I5b93fab02161b23bb753e65ef92643a04fb0789c
(cherry picked from commit 9e51007039770370182839846676b205f5c34c57)
(cherry picked from commit a090e1e17962c5ca95f66c9d18fca6ac5dd4bca0)
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/form/fmshimp.cxx | 1 | ||||
-rw-r--r-- | svx/source/sdr/overlay/overlaymanagerbuffered.cxx | 1 | ||||
-rw-r--r-- | svx/source/sidebar/PanelLayout.cxx | 1 | ||||
-rw-r--r-- | svx/source/svdraw/svdetc.cxx | 3 | ||||
-rw-r--r-- | svx/source/svdraw/svdpntv.cxx | 1 |
5 files changed, 5 insertions, 2 deletions
diff --git a/svx/source/form/fmshimp.cxx b/svx/source/form/fmshimp.cxx index 63df4cbee9ab..0ed995516613 100644 --- a/svx/source/form/fmshimp.cxx +++ b/svx/source/form/fmshimp.cxx @@ -639,6 +639,7 @@ FmXFormShell::FmXFormShell( FmFormShell& _rShell, SfxViewFrame* _pViewFrame ) { m_aMarkTimer.SetTimeout(100); m_aMarkTimer.SetTimeoutHdl(LINK(this,FmXFormShell,OnTimeOut)); + m_aMarkTimer.SetDebugName("svx::FmXFormShell m_aMarkTimer"); m_xAttachedFrame = _pViewFrame->GetFrame().GetFrameInterface(); diff --git a/svx/source/sdr/overlay/overlaymanagerbuffered.cxx b/svx/source/sdr/overlay/overlaymanagerbuffered.cxx index d0f1d192b20b..8ede68ce1708 100644 --- a/svx/source/sdr/overlay/overlaymanagerbuffered.cxx +++ b/svx/source/sdr/overlay/overlaymanagerbuffered.cxx @@ -385,6 +385,7 @@ namespace sdr // Init timer maBufferIdle.SetPriority( SchedulerPriority::POST_PAINT ); maBufferIdle.SetIdleHdl(LINK(this, OverlayManagerBuffered, ImpBufferTimerHandler)); + maBufferIdle.SetDebugName( "sdr::overlay::OverlayManagerBuffered maBufferIdle" ); } rtl::Reference<OverlayManager> OverlayManagerBuffered::create( diff --git a/svx/source/sidebar/PanelLayout.cxx b/svx/source/sidebar/PanelLayout.cxx index 5d5eba25498b..01e7b1a8f48e 100644 --- a/svx/source/sidebar/PanelLayout.cxx +++ b/svx/source/sidebar/PanelLayout.cxx @@ -27,6 +27,7 @@ PanelLayout::PanelLayout(vcl::Window* pParent, const OString& rID, const OUStrin m_pUIBuilder.reset(new VclBuilder(this, getUIRootDir(), rUIXMLDescription, rID, rFrame)); m_aPanelLayoutIdle.SetPriority(SchedulerPriority::RESIZE); m_aPanelLayoutIdle.SetIdleHdl( LINK( this, PanelLayout, ImplHandlePanelLayoutTimerHdl ) ); + m_aPanelLayoutIdle.SetDebugName( "svx::PanelLayout m_aPanelLayoutIdle" ); if (GetSettings().GetStyleSettings().GetAutoMnemonic()) Accelerator::GenerateAutoMnemonicsOnHierarchy(this); } diff --git a/svx/source/svdraw/svdetc.cxx b/svx/source/svdraw/svdetc.cxx index f10b09f81ed5..1941cd4f3ef8 100644 --- a/svx/source/svdraw/svdetc.cxx +++ b/svx/source/svdraw/svdetc.cxx @@ -110,13 +110,12 @@ OLEObjCache::OLEObjCache() nSize = officecfg::Office::Common::Cache::DrawingEngine::OLE_Objects::get(); else nSize = 100; - pTimer = new AutoTimer(); + pTimer = new AutoTimer( "svx OLEObjCache pTimer UnloadCheck" ); Link<Timer *, void> aLink = LINK(this, OLEObjCache, UnloadCheckHdl); pTimer->SetTimeoutHdl(aLink); pTimer->SetTimeout(20000); pTimer->Start(); - pTimer->SetDebugName("OLEObjCache pTimer UnloadCheck"); aLink.Call(pTimer); } diff --git a/svx/source/svdraw/svdpntv.cxx b/svx/source/svdraw/svdpntv.cxx index 24936e9e5fee..109532e176c5 100644 --- a/svx/source/svdraw/svdpntv.cxx +++ b/svx/source/svdraw/svdpntv.cxx @@ -177,6 +177,7 @@ void SdrPaintView::ImpClearVars() mnGraphicManagerDrawMode = GraphicManagerDrawFlags::STANDARD; maComeBackIdle.SetPriority(SchedulerPriority::REPAINT); maComeBackIdle.SetIdleHdl(LINK(this,SdrPaintView,ImpComeBackHdl)); + maComeBackIdle.SetDebugName( "svx::SdrPaintView aComeBackIdle" ); if (mpModel) SetDefaultStyleSheet(mpModel->GetDefaultStyleSheet(), true); |