diff options
author | Tobias Madl <tobias.madl.dev@gmail.com> | 2014-11-21 21:16:47 +0000 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2014-11-22 00:46:24 +0000 |
commit | 371c549b4921f7ac7bb336a1308b4fb14b9324ae (patch) | |
tree | aaaf32d811b3657bb23a00d0ac7156ea6285fe4b /basctl/source/dlged/dlged.cxx | |
parent | 7fcbb29db802acd8c0f32e8ff578ef4b2f82c46b (diff) |
timers: Timer never started, remove it completely.
Change-Id: I119529498f4bea014e5e0d3d81c39203080ff1c4
Reviewed-on: https://gerrit.libreoffice.org/13030
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'basctl/source/dlged/dlged.cxx')
-rw-r--r-- | basctl/source/dlged/dlged.cxx | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/basctl/source/dlged/dlged.cxx b/basctl/source/dlged/dlged.cxx index b6d525c5f2ce..74c46e91e9f5 100644 --- a/basctl/source/dlged/dlged.cxx +++ b/basctl/source/dlged/dlged.cxx @@ -219,9 +219,6 @@ DlgEditor::DlgEditor ( m_ClipboardDataFlavorsResource[1].HumanPresentableName = "Dialog 8.0" ; m_ClipboardDataFlavorsResource[1].DataType = ::getCppuType( (const Sequence< sal_Int8 >*) 0 ); - aPaintTimer.SetTimeout( 1 ); - aPaintTimer.SetTimeoutHdl( LINK( this, DlgEditor, PaintTimeout ) ); - aMarkTimer.SetTimeout( 100 ); aMarkTimer.SetTimeoutHdl( LINK( this, DlgEditor, MarkTimeout ) ); @@ -249,7 +246,6 @@ DlgEditor::DlgEditor ( DlgEditor::~DlgEditor() { - aPaintTimer.Stop(); aMarkTimer.Stop(); ::comphelper::disposeComponent( m_xControlContainer ); @@ -478,12 +474,7 @@ bool DlgEditor::KeyInput( const KeyEvent& rKEvt ) void DlgEditor::Paint( const Rectangle& rRect ) { aPaintRect = rRect; - PaintTimeout( &aPaintTimer ); -} - -IMPL_LINK_NOARG(DlgEditor, PaintTimeout) -{ mnPaintGuard++; Size aMacSize; @@ -580,8 +571,6 @@ IMPL_LINK_NOARG(DlgEditor, PaintTimeout) } mnPaintGuard--; - - return 0; } |