[Libreoffice-commits] core.git: drawinglayer/source sc/source
emahaldar/em
aparajitah at gmail.com
Mon Jun 13 15:33:53 UTC 2016
drawinglayer/source/processor2d/vclhelperbufferdevice.cxx | 2 +-
sc/source/ui/app/inputhdl.cxx | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
New commits:
commit e8dfe9bca7c2430df9d231ec79ed540e45f18789
Author: emahaldar/em <aparajitah at gmail.com>
Date: Mon Jun 13 19:04:38 2016 +0530
Give unique, comprehensible names to timers tdf#97087
Change-Id: I9f2be193b995d43d4e3440e55a025629fe5bcaed
Reviewed-on: https://gerrit.libreoffice.org/26222
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin at gmail.com>
diff --git a/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx b/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx
index 9519507..a49eb59 100644
--- a/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx
+++ b/drawinglayer/source/processor2d/vclhelperbufferdevice.cxx
@@ -66,7 +66,7 @@ namespace
};
VDevBuffer::VDevBuffer()
- : Timer(),
+ : Timer("VDevBuffer timer"),
maFreeBuffers(),
maUsedBuffers()
{
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index e7cd682..dd96bfb 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -3717,7 +3717,7 @@ void ScInputHandler::NotifyChange( const ScInputHdlState* pState,
// still be active
if ( !pDelayTimer )
{
- pDelayTimer = new Timer;
+ pDelayTimer = new Timer("Restart ScInputHandlerDelay timer");
pDelayTimer->SetTimeout( 500 ); // 500 ms delay
pDelayTimer->SetTimeoutHdl( LINK( this, ScInputHandler, DelayTimer ) );
pDelayTimer->Start();
@@ -3729,7 +3729,7 @@ void ScInputHandler::NotifyChange( const ScInputHdlState* pState,
{
if ( !pDelayTimer )
{
- pDelayTimer = new Timer;
+ pDelayTimer = new Timer("ScInputHandlerDelay timer");
pDelayTimer->SetTimeout( 500 ); // 500 ms delay
pDelayTimer->SetTimeoutHdl( LINK( this, ScInputHandler, DelayTimer ) );
pDelayTimer->Start();
More information about the Libreoffice-commits
mailing list