diff options
author | Jennifer Liebel <jliebel94@gmail.com> | 2015-01-14 09:25:30 +0000 |
---|---|---|
committer | Tobias Madl <tobias.madl.dev@gmail.com> | 2015-03-06 12:27:06 +0000 |
commit | 49524c6dcf04b9dadef8d2b084cf26abcf70b8a9 (patch) | |
tree | 88702970cd6437b0e1e25ef15e46a58b696b1eb7 /sd | |
parent | 826143684d2697a8620373dce18fa5f24332d5cb (diff) |
idle includes and enum use
Change-Id: I8a280c54d81c7da74c9ab03ff3fc788e373ca4e4
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/dlg/brkdlg.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/inc/BreakDlg.hxx | 1 | ||||
-rw-r--r-- | sd/source/ui/inc/View.hxx | 1 | ||||
-rw-r--r-- | sd/source/ui/slidesorter/controller/SlsAnimator.cxx | 2 | ||||
-rw-r--r-- | sd/source/ui/slidesorter/inc/controller/SlsAnimator.hxx | 1 | ||||
-rw-r--r-- | sd/source/ui/view/sdview.cxx | 4 |
6 files changed, 7 insertions, 4 deletions
diff --git a/sd/source/ui/dlg/brkdlg.cxx b/sd/source/ui/dlg/brkdlg.cxx index 8c2a255e567a..8506d6accb20 100644 --- a/sd/source/ui/dlg/brkdlg.cxx +++ b/sd/source/ui/dlg/brkdlg.cxx @@ -144,7 +144,7 @@ IMPL_LINK( BreakDlg, UpDate, void*, nInit ) */ short BreakDlg::Execute() { - aIdle.SetPriority( VCL_IDLE_PRIORITY_REPAINT ); + aIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_REPAINT ); aIdle.SetIdleHdl( LINK( this, BreakDlg, InitialUpdate ) ); aIdle.Start(); diff --git a/sd/source/ui/inc/BreakDlg.hxx b/sd/source/ui/inc/BreakDlg.hxx index 2159e8bc2c31..bddf639c16a3 100644 --- a/sd/source/ui/inc/BreakDlg.hxx +++ b/sd/source/ui/inc/BreakDlg.hxx @@ -29,6 +29,7 @@ #include <vcl/edit.hxx> #include <svtools/stdctrl.hxx> #include <sfx2/basedlgs.hxx> +#include <vcl/idle.hxx> class SvdProgressInfo; class SfxProgress; diff --git a/sd/source/ui/inc/View.hxx b/sd/source/ui/inc/View.hxx index 944d7e0e8a1b..ddb14399183c 100644 --- a/sd/source/ui/inc/View.hxx +++ b/sd/source/ui/inc/View.hxx @@ -28,6 +28,7 @@ #include <svx/fmview.hxx> #include <svx/svdmark.hxx> #include <svx/svdpage.hxx> +#include <vcl/idle.hxx> #include "fupoor.hxx" #include "smarttag.hxx" diff --git a/sd/source/ui/slidesorter/controller/SlsAnimator.cxx b/sd/source/ui/slidesorter/controller/SlsAnimator.cxx index d0594b902590..381d6bd2396d 100644 --- a/sd/source/ui/slidesorter/controller/SlsAnimator.cxx +++ b/sd/source/ui/slidesorter/controller/SlsAnimator.cxx @@ -68,7 +68,7 @@ Animator::Animator (SlideSorter& rSlideSorter) mpDrawLock(), mnNextAnimationId(0) { - maIdle.SetPriority(VCL_IDLE_PRIORITY_REPAINT); + maIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_REPAINT); maIdle.SetIdleHdl(LINK(this,Animator,TimeoutHandler)); } diff --git a/sd/source/ui/slidesorter/inc/controller/SlsAnimator.hxx b/sd/source/ui/slidesorter/inc/controller/SlsAnimator.hxx index 0eb10cef0bba..9bed85a76524 100644 --- a/sd/source/ui/slidesorter/inc/controller/SlsAnimator.hxx +++ b/sd/source/ui/slidesorter/inc/controller/SlsAnimator.hxx @@ -24,6 +24,7 @@ #include "view/SlideSorterView.hxx" #include <canvas/elapsedtime.hxx> #include <vcl/timer.hxx> +#include <vcl/idle.hxx> #include <sal/types.h> #include <vector> #include <boost/function.hpp> diff --git a/sd/source/ui/view/sdview.cxx b/sd/source/ui/view/sdview.cxx index 8224d7cc4ebc..59db8b5c795f 100644 --- a/sd/source/ui/view/sdview.cxx +++ b/sd/source/ui/view/sdview.cxx @@ -139,9 +139,9 @@ View::View(SdDrawDocument& rDrawDoc, OutputDevice* pOutDev, // Timer for delayed drop (has to be for MAC) maDropErrorIdle.SetIdleHdl( LINK(this, View, DropErrorHdl) ); - maDropErrorIdle.SetPriority(VCL_IDLE_PRIORITY_MEDIUM); + maDropErrorIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_MEDIUM); maDropInsertFileIdle.SetIdleHdl( LINK(this, View, DropInsertFileHdl) ); - maDropInsertFileIdle.SetPriority(VCL_IDLE_PRIORITY_MEDIUM); + maDropInsertFileIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_MEDIUM); } void View::ImplClearDrawDropMarker() |