summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorTobias Madl <tobias.madl.dev@gmail.com>2014-11-07 11:13:37 +0000
committerTobias Madl <tobias.madl.dev@gmail.com>2014-12-09 12:34:52 +0000
commit466c7b01e290513fdd252cd1783786e5521baacf (patch)
tree1cc05e666f3cf61b730b84c3fcc9a115248c3dd5 /sfx2
parent545fafea1a21902b16b80c3aa2545f6e4b6f3565 (diff)
change timers to idles
Change-Id: I224976e75b020d03e4b0d8beb79ad1c1310e8874
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/appl/newhelp.cxx6
-rw-r--r--sfx2/source/appl/newhelp.hxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx
index ae3a2cdccaac..34b462097199 100644
--- a/sfx2/source/appl/newhelp.cxx
+++ b/sfx2/source/appl/newhelp.cxx
@@ -1875,8 +1875,8 @@ SfxHelpTextWindow_Impl::SfxHelpTextWindow_Impl( SfxHelpWindow_Impl* pParent ) :
InitOnStartupBox( false );
aOnStartupCB.SetClickHdl( LINK( this, SfxHelpTextWindow_Impl, CheckHdl ) );
- aSelectTimer.SetTimeoutHdl( LINK( this, SfxHelpTextWindow_Impl, SelectHdl ) );
- aSelectTimer.SetTimeout( 1000 );
+ aSelectIdle.SetIdleHdl( LINK( this, SfxHelpTextWindow_Impl, SelectHdl ) );
+ aSelectIdle.SetPriority( VCL_IDLE_PRIORITY_LOWEST );
char* pEnv = getenv( "help_debug" );
if ( pEnv )
@@ -2497,7 +2497,7 @@ void SfxHelpTextWindow_Impl::SelectSearchText( const OUString& rSearchText, bool
{
aSearchText = rSearchText;
bIsFullWordSearch = _bIsFullWordSearch;
- aSelectTimer.Start();
+ aSelectIdle.Start();
}
diff --git a/sfx2/source/appl/newhelp.hxx b/sfx2/source/appl/newhelp.hxx
index a910fd003438..eb303e129b42 100644
--- a/sfx2/source/appl/newhelp.hxx
+++ b/sfx2/source/appl/newhelp.hxx
@@ -405,7 +405,7 @@ class SfxHelpTextWindow_Impl : public vcl::Window
private:
ToolBox aToolBox;
CheckBox aOnStartupCB;
- Timer aSelectTimer;
+ Idle aSelectIdle;
Image aIndexOnImage;
Image aIndexOffImage;
OUString aIndexOnText;