summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/ui/formdlg/dwfunctr.cxx6
-rw-r--r--sc/source/ui/inc/anyrefdg.hxx2
-rw-r--r--sc/source/ui/inc/dwfunctr.hxx2
-rw-r--r--sc/source/ui/miscdlgs/anyrefdg.cxx6
4 files changed, 8 insertions, 8 deletions
diff --git a/sc/source/ui/formdlg/dwfunctr.cxx b/sc/source/ui/formdlg/dwfunctr.cxx
index 32ea15d2c449..d1caf276c112 100644
--- a/sc/source/ui/formdlg/dwfunctr.cxx
+++ b/sc/source/ui/formdlg/dwfunctr.cxx
@@ -103,8 +103,8 @@ ScFunctionDockWin::ScFunctionDockWin( SfxBindings* pBindingsP,
InitLRUList();
SetStyle(GetStyle()|WB_CLIPCHILDREN);
- aTimer.SetTimeout(200);
- aTimer.SetTimeoutHdl(LINK( this, ScFunctionDockWin, TimerHdl));
+ aIdle.SetPriority(VCL_IDLE_PRIORITY_LOWER);
+ aIdle.SetIdleHdl(LINK( this, ScFunctionDockWin, TimerHdl));
if (pCW != NULL)
eSfxNewAlignment=GetAlignment();
@@ -1026,7 +1026,7 @@ void ScFunctionDockWin::ToggleFloatingMode()
aOldSize.Height()=0;
aOldSize.Width()=0;
- aTimer.Start();
+ aIdle.Start();
}
IMPL_LINK_NOARG(ScFunctionDockWin, TimerHdl)
diff --git a/sc/source/ui/inc/anyrefdg.hxx b/sc/source/ui/inc/anyrefdg.hxx
index f3507ffe8283..945e36e0a3ac 100644
--- a/sc/source/ui/inc/anyrefdg.hxx
+++ b/sc/source/ui/inc/anyrefdg.hxx
@@ -121,7 +121,7 @@ private:
SfxBindings* pMyBindings;
vcl::Window* pActiveWin;
- Timer aTimer;
+ Idle aIdle;
OUString aDocName; // document on which the dialog was opened
DECL_LINK( UpdateFocusHdl, void* );
diff --git a/sc/source/ui/inc/dwfunctr.hxx b/sc/source/ui/inc/dwfunctr.hxx
index 80408668dde0..7ac4181191dc 100644
--- a/sc/source/ui/inc/dwfunctr.hxx
+++ b/sc/source/ui/inc/dwfunctr.hxx
@@ -46,7 +46,7 @@ class ScFunctionDockWin : public SfxDockingWindow, public SfxListener
{
private:
- Timer aTimer;
+ Idle aIdle;
ScPrivatSplit aPrivatSplit;
ListBox aCatBox;
ListBox aFuncList;
diff --git a/sc/source/ui/miscdlgs/anyrefdg.cxx b/sc/source/ui/miscdlgs/anyrefdg.cxx
index cb5ea7c6bf21..409f138d85f8 100644
--- a/sc/source/ui/miscdlgs/anyrefdg.cxx
+++ b/sc/source/ui/miscdlgs/anyrefdg.cxx
@@ -767,8 +767,8 @@ ScRefHandler::ScRefHandler( vcl::Window &rWindow, SfxBindings* pB, bool bBindRef
{
m_aHelper.SetWindow(&m_rWindow);
reverseUniqueHelpIdHack(m_rWindow);
- aTimer.SetTimeout(200);
- aTimer.SetTimeoutHdl(LINK( this, ScRefHandler, UpdateFocusHdl));
+ aIdle.SetPriority(VCL_IDLE_PRIORITY_LOWER);
+ aIdle.SetIdleHdl(LINK( this, ScRefHandler, UpdateFocusHdl));
if( bBindRef ) EnterRefMode();
}
@@ -956,7 +956,7 @@ void ScRefHandler::stateChanged(const StateChangedType nStateChange, const bool
ScFormulaReferenceHelper::enableInput( false );
m_aHelper.EnableSpreadsheets();
m_aHelper.SetDispatcherLock( true );
- aTimer.Start();
+ aIdle.Start();
}
else
{