diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2021-03-08 18:31:36 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2021-03-09 14:23:34 +0100 |
commit | 5e8c0e2556eebfee7b2d75403cbf5cee6642e644 (patch) | |
tree | a0ec2551f9b78b1d7e742016f5a376d01b794dc9 | |
parent | Related tdf#140849: "Apply and Edit changes" from AutoCorrect crashes LO writer (diff) | |
download | core-5e8c0e2556eebfee7b2d75403cbf5cee6642e644.tar.gz core-5e8c0e2556eebfee7b2d75403cbf5cee6642e644.zip |
add some Timer debug names
Change-Id: I7a0037ffd7d45ab18efa76dce805274090527525
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112182
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
-rw-r--r-- | sd/source/ui/slideshow/slideshowimpl.cxx | 3 | ||||
-rw-r--r-- | sd/source/ui/slidesorter/view/SlsToolTip.cxx | 2 | ||||
-rw-r--r-- | svx/source/sdr/animation/scheduler.cxx | 1 | ||||
-rw-r--r-- | svx/source/tbxctrls/formatpaintbrushctrl.cxx | 1 |
4 files changed, 7 insertions, 0 deletions
diff --git a/sd/source/ui/slideshow/slideshowimpl.cxx b/sd/source/ui/slideshow/slideshowimpl.cxx index b9639f184cb9..b52fb82a9d22 100644 --- a/sd/source/ui/slideshow/slideshowimpl.cxx +++ b/sd/source/ui/slideshow/slideshowimpl.cxx @@ -518,13 +518,16 @@ SlideshowImpl::SlideshowImpl( const Reference< XPresentation2 >& xPresentation, if( mpViewShell ) mpOldActiveWindow = mpViewShell->GetActiveWindow(); + maUpdateTimer.SetDebugName("SlideShowImpl maUpdateTimer"); maUpdateTimer.SetInvokeHandler(LINK(this, SlideshowImpl, updateHdl)); // Priority must not be too high or we'll starve input handling etc. maUpdateTimer.SetPriority(TaskPriority::REPAINT); + maDeactivateTimer.SetDebugName("SlideShowImpl maDeactivateTimer"); maDeactivateTimer.SetInvokeHandler(LINK(this, SlideshowImpl, deactivateHdl)); maDeactivateTimer.SetTimeout( 20 ); + maInputFreezeTimer.SetDebugName("SlideShowImpl maInputFreezeTimer"); maInputFreezeTimer.SetInvokeHandler( LINK( this, SlideshowImpl, ReadyForNextInputHdl ) ); maInputFreezeTimer.SetTimeout( 20 ); diff --git a/sd/source/ui/slidesorter/view/SlsToolTip.cxx b/sd/source/ui/slidesorter/view/SlsToolTip.cxx index e5872b45bfc7..374df4b6328e 100644 --- a/sd/source/ui/slidesorter/view/SlsToolTip.cxx +++ b/sd/source/ui/slidesorter/view/SlsToolTip.cxx @@ -39,8 +39,10 @@ ToolTip::ToolTip (SlideSorter& rSlideSorter) maShowTimer(), maHiddenTimer() { + maShowTimer.SetDebugName("sd::slidesorter::view::ToolTip maShowTimer"); maShowTimer.SetTimeout(HelpSettings::GetTipDelay()); maShowTimer.SetInvokeHandler(LINK(this, ToolTip, DelayTrigger)); + maHiddenTimer.SetDebugName("sd::slidesorter::view::ToolTip maHiddenTimer"); maHiddenTimer.SetTimeout(HelpSettings::GetTipDelay()); } diff --git a/svx/source/sdr/animation/scheduler.cxx b/svx/source/sdr/animation/scheduler.cxx index 21a28fe72f9f..2b8ce885c151 100644 --- a/svx/source/sdr/animation/scheduler.cxx +++ b/svx/source/sdr/animation/scheduler.cxx @@ -49,6 +49,7 @@ namespace sdr::animation mnDeltaTime(0), mbIsPaused(false) { + SetDebugName("sdr::animation::Scheduler"); SetPriority(TaskPriority::POST_PAINT); } diff --git a/svx/source/tbxctrls/formatpaintbrushctrl.cxx b/svx/source/tbxctrls/formatpaintbrushctrl.cxx index 9126437107bc..89fd2dff37e6 100644 --- a/svx/source/tbxctrls/formatpaintbrushctrl.cxx +++ b/svx/source/tbxctrls/formatpaintbrushctrl.cxx @@ -41,6 +41,7 @@ FormatPaintBrushToolBoxControl::FormatPaintBrushToolBoxControl( sal_uInt16 nSlot { sal_uInt64 nDblClkTime = rTbx.GetSettings().GetMouseSettings().GetDoubleClickTime(); + m_aDoubleClickTimer.SetDebugName("FormatPaintBrushToolBoxControl m_aDoubleClickTimer"); m_aDoubleClickTimer.SetInvokeHandler( LINK(this, FormatPaintBrushToolBoxControl, WaitDoubleClickHdl) ); m_aDoubleClickTimer.SetTimeout(nDblClkTime); } |