diff options
author | Tobias Madl <tobias.madl.dev@gmail.com> | 2015-01-14 10:21:20 +0100 |
---|---|---|
committer | Tobias Madl <tobias.madl.dev@gmail.com> | 2015-03-06 12:27:05 +0000 |
commit | 826143684d2697a8620373dce18fa5f24332d5cb (patch) | |
tree | 88be6f99b02c8c9fea849c3125b9e23a18be65f9 /cui/source/dialogs | |
parent | d8305248f687ffa522b56955508d82d60ad5b8c6 (diff) |
Timer: Adapted all idle includes and enum uses
Change-Id: Id4ef36d6c80ad62306bdbaa7094c2cb0b8ff77da
Diffstat (limited to 'cui/source/dialogs')
-rw-r--r-- | cui/source/dialogs/cuigaldlg.cxx | 2 | ||||
-rw-r--r-- | cui/source/dialogs/linkdlg.cxx | 3 | ||||
-rw-r--r-- | cui/source/dialogs/thesdlg.cxx | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/cui/source/dialogs/cuigaldlg.cxx b/cui/source/dialogs/cuigaldlg.cxx index 1cd56f2bcc49..30e64eb41d5e 100644 --- a/cui/source/dialogs/cuigaldlg.cxx +++ b/cui/source/dialogs/cuigaldlg.cxx @@ -452,7 +452,7 @@ short ActualizeProgress::Execute() if ( pIdle ) { pIdle->SetIdleHdl( LINK( this, ActualizeProgress, TimeoutHdl ) ); - pIdle->SetPriority( VCL_IDLE_PRIORITY_LOWEST ); + pIdle->SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOWEST ); pIdle->Start(); } diff --git a/cui/source/dialogs/linkdlg.cxx b/cui/source/dialogs/linkdlg.cxx index 5f515db7ddee..c5c6fbfb7f4a 100644 --- a/cui/source/dialogs/linkdlg.cxx +++ b/cui/source/dialogs/linkdlg.cxx @@ -30,6 +30,7 @@ #include <vcl/lstbox.hxx> #include <vcl/msgbox.hxx> #include <vcl/timer.hxx> +#include <vcl/idle.hxx> #include <svtools/svtabbx.hxx> #include "svtools/treelistentry.hxx" @@ -124,7 +125,7 @@ SvBaseLinksDlg::SvBaseLinksDlg( vcl::Window * pParent, LinkManager* pMgr, bool b // UpdateTimer for DDE-/Grf-links, which are waited for aUpdateIdle.SetIdleHdl( LINK( this, SvBaseLinksDlg, UpdateWaitingHdl ) ); - aUpdateIdle.SetPriority( VCL_IDLE_PRIORITY_LOWEST ); + aUpdateIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOWEST ); m_pPbOpenSource->Hide(); diff --git a/cui/source/dialogs/thesdlg.cxx b/cui/source/dialogs/thesdlg.cxx index 79c4d9e40d8b..c98a96f9ae0d 100644 --- a/cui/source/dialogs/thesdlg.cxx +++ b/cui/source/dialogs/thesdlg.cxx @@ -61,7 +61,7 @@ LookUpComboBox::LookUpComboBox(vcl::Window *pParent) EnableAutoSize(true); m_aModifyIdle.SetIdleHdl( LINK( this, LookUpComboBox, ModifyTimer_Hdl ) ); - m_aModifyIdle.SetPriority( VCL_IDLE_PRIORITY_LOWEST ); + m_aModifyIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOWEST ); EnableAutocomplete( false ); } |