diff options
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/contnr/imivctl1.cxx | 12 | ||||
-rw-r--r-- | svtools/source/contnr/svimpbox.cxx | 4 | ||||
-rw-r--r-- | svtools/source/contnr/treelistbox.cxx | 2 | ||||
-rw-r--r-- | svtools/source/control/asynclink.cxx | 2 | ||||
-rw-r--r-- | svtools/source/control/tabbar.cxx | 2 | ||||
-rw-r--r-- | svtools/source/dialogs/wizdlg.cxx | 2 | ||||
-rw-r--r-- | svtools/source/misc/filechangedchecker.cxx | 2 |
7 files changed, 13 insertions, 13 deletions
diff --git a/svtools/source/contnr/imivctl1.cxx b/svtools/source/contnr/imivctl1.cxx index 002a9a09d1ed..4c03f2a05506 100644 --- a/svtools/source/contnr/imivctl1.cxx +++ b/svtools/source/contnr/imivctl1.cxx @@ -136,16 +136,16 @@ SvxIconChoiceCtrl_Impl::SvxIconChoiceCtrl_Impl( nHorSBarHeight = aHorSBar.GetSizePixel().Height(); nVerSBarWidth = aVerSBar.GetSizePixel().Width(); - aEditIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOWEST ); + aEditIdle.SetPriority( IdlePriority::LOWEST ); aEditIdle.SetIdleHdl(LINK(this,SvxIconChoiceCtrl_Impl,EditTimeoutHdl)); - aAutoArrangeIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOW ); + aAutoArrangeIdle.SetPriority( IdlePriority::LOW ); aAutoArrangeIdle.SetIdleHdl(LINK(this,SvxIconChoiceCtrl_Impl,AutoArrangeHdl)); - aCallSelectHdlIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOWEST ); + aCallSelectHdlIdle.SetPriority( IdlePriority::LOWEST ); aCallSelectHdlIdle.SetIdleHdl( LINK(this,SvxIconChoiceCtrl_Impl,CallSelectHdlHdl)); - aDocRectChangedIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_MEDIUM ); + aDocRectChangedIdle.SetPriority( IdlePriority::MEDIUM ); aDocRectChangedIdle.SetIdleHdl(LINK(this,SvxIconChoiceCtrl_Impl,DocRectChangedHdl)); - aVisRectChangedIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_MEDIUM ); + aVisRectChangedIdle.SetPriority( IdlePriority::MEDIUM ); aVisRectChangedIdle.SetIdleHdl(LINK(this,SvxIconChoiceCtrl_Impl,VisRectChangedHdl)); Clear( true ); @@ -3394,7 +3394,7 @@ bool IcnViewEdit_Impl::PreNotify( NotifyEvent& rNEvt ) ((!Application::GetFocusWindow()) || !IsChild(Application::GetFocusWindow()))) { bCanceled = false; - aIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_REPAINT); + aIdle.SetPriority(IdlePriority::REPAINT); aIdle.SetIdleHdl(LINK(this,IcnViewEdit_Impl,Timeout_Impl)); aIdle.Start(); } diff --git a/svtools/source/contnr/svimpbox.cxx b/svtools/source/contnr/svimpbox.cxx index ba196635b5ba..c508471ca5cc 100644 --- a/svtools/source/contnr/svimpbox.cxx +++ b/svtools/source/contnr/svimpbox.cxx @@ -89,7 +89,7 @@ SvImpLBox::SvImpLBox( SvTreeListBox* pLBView, SvTreeList* pLBTree, WinBits nWinS nNodeBmpWidth = 0; bAsyncBeginDrag = false; - aAsyncBeginDragIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_HIGHEST ); + aAsyncBeginDragIdle.SetPriority( IdlePriority::HIGHEST ); aAsyncBeginDragIdle.SetIdleHdl( LINK(this,SvImpLBox,BeginDragHdl)); // button animation in listbox pActiveButton = 0; @@ -99,7 +99,7 @@ SvImpLBox::SvImpLBox( SvTreeListBox* pLBView, SvTreeList* pLBTree, WinBits nWinS nFlags = 0; nCurTabPos = FIRST_ENTRY_TAB; - aEditIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOWEST ); + aEditIdle.SetPriority( IdlePriority::LOWEST ); aEditIdle.SetIdleHdl( LINK(this,SvImpLBox,EditTimerCall) ); nMostRight = -1; diff --git a/svtools/source/contnr/treelistbox.cxx b/svtools/source/contnr/treelistbox.cxx index 3f7909caaf82..506cbf64826f 100644 --- a/svtools/source/contnr/treelistbox.cxx +++ b/svtools/source/contnr/treelistbox.cxx @@ -233,7 +233,7 @@ void SvInplaceEdit2::LoseFocus() ) { bCanceled = false; - aIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_REPAINT); + aIdle.SetPriority(IdlePriority::REPAINT); aIdle.SetIdleHdl(LINK(this,SvInplaceEdit2,Timeout_Impl)); aIdle.Start(); } diff --git a/svtools/source/control/asynclink.cxx b/svtools/source/control/asynclink.cxx index bf7b0c9ed304..8821021ba44a 100644 --- a/svtools/source/control/asynclink.cxx +++ b/svtools/source/control/asynclink.cxx @@ -55,7 +55,7 @@ bAllowDoubles if( !_pIdle ) { _pIdle = new Idle; - _pIdle->SetPriority( IdlePriority::VCL_IDLE_PRIORITY_HIGHEST ); + _pIdle->SetPriority( IdlePriority::HIGHEST ); _pIdle->SetIdleHdl( STATIC_LINK( this, AsynchronLink, HandleCall) ); } diff --git a/svtools/source/control/tabbar.cxx b/svtools/source/control/tabbar.cxx index c40200928bcf..c7f32018a326 100644 --- a/svtools/source/control/tabbar.cxx +++ b/svtools/source/control/tabbar.cxx @@ -322,7 +322,7 @@ IMPL_LINK( TabBarEdit, ImplEndEditHdl, void*, pCancel ) // when it shows the context menu or the insert symbol dialog if ( !HasFocus() && HasChildPathFocus( true ) ) { - maLoseFocusIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_REPAINT ); + maLoseFocusIdle.SetPriority( IdlePriority::REPAINT ); maLoseFocusIdle.SetIdleHdl( LINK( this, TabBarEdit, ImplEndTimerHdl ) ); maLoseFocusIdle.Start(); } diff --git a/svtools/source/dialogs/wizdlg.cxx b/svtools/source/dialogs/wizdlg.cxx index aab754685bbb..924e0011aca3 100644 --- a/svtools/source/dialogs/wizdlg.cxx +++ b/svtools/source/dialogs/wizdlg.cxx @@ -61,7 +61,7 @@ void WizardDialog::ImplInitData() mbEmptyViewMargin = false; mnLeftAlignCount = 0; - maWizardLayoutIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_RESIZE); + maWizardLayoutIdle.SetPriority(IdlePriority::RESIZE); maWizardLayoutIdle.SetIdleHdl( LINK( this, WizardDialog, ImplHandleWizardLayoutTimerHdl ) ); } diff --git a/svtools/source/misc/filechangedchecker.cxx b/svtools/source/misc/filechangedchecker.cxx index 71382d3ceaeb..a9efb984822c 100644 --- a/svtools/source/misc/filechangedchecker.cxx +++ b/svtools/source/misc/filechangedchecker.cxx @@ -34,7 +34,7 @@ void FileChangedChecker::resetTimer() mIdle.Start(); // Set lowest Priority - mIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_LOWEST); + mIdle.SetPriority(IdlePriority::LOWEST); } bool FileChangedChecker::getCurrentModTime(TimeValue& o_rValue) const |