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 /svx | |
parent | 826143684d2697a8620373dce18fa5f24332d5cb (diff) |
idle includes and enum use
Change-Id: I8a280c54d81c7da74c9ab03ff3fc788e373ca4e4
Diffstat (limited to 'svx')
-rw-r--r-- | svx/inc/sdr/overlay/overlaymanagerbuffered.hxx | 3 | ||||
-rw-r--r-- | svx/inc/svdibrow.hxx | 1 | ||||
-rw-r--r-- | svx/source/sdr/overlay/overlaymanagerbuffered.cxx | 2 | ||||
-rw-r--r-- | svx/source/sidebar/PanelLayout.cxx | 2 | ||||
-rw-r--r-- | svx/source/svdraw/svdibrow.cxx | 2 | ||||
-rw-r--r-- | svx/source/svdraw/svdpntv.cxx | 2 |
6 files changed, 7 insertions, 5 deletions
diff --git a/svx/inc/sdr/overlay/overlaymanagerbuffered.hxx b/svx/inc/sdr/overlay/overlaymanagerbuffered.hxx index 73795977b630..35c8d66ab677 100644 --- a/svx/inc/sdr/overlay/overlaymanagerbuffered.hxx +++ b/svx/inc/sdr/overlay/overlaymanagerbuffered.hxx @@ -23,6 +23,7 @@ #include <svx/sdr/overlay/overlaymanager.hxx> #include <basegfx/range/b2irange.hxx> #include <vcl/virdev.hxx> +#include <vcl/idle.hxx> @@ -41,7 +42,7 @@ namespace sdr // is an extra device to avoid flickering of overlay paints VirtualDevice maOutputBufferDevice; - // Timer for buffering + // Idle for buffering Idle maBufferIdle; // Range for buffering (in pixel to be independent from mapMode) diff --git a/svx/inc/svdibrow.hxx b/svx/inc/svdibrow.hxx index 3c1fde170513..8c154edd1542 100644 --- a/svx/inc/svdibrow.hxx +++ b/svx/inc/svdibrow.hxx @@ -23,6 +23,7 @@ #include <svtools/brwbox.hxx> #include <vcl/edit.hxx> #include <vcl/floatwin.hxx> +#include <vcl/idle.hxx> class SfxItemSet; class ImpItemListRow; diff --git a/svx/source/sdr/overlay/overlaymanagerbuffered.cxx b/svx/source/sdr/overlay/overlaymanagerbuffered.cxx index 218ad265c333..2fb4df24a1dd 100644 --- a/svx/source/sdr/overlay/overlaymanagerbuffered.cxx +++ b/svx/source/sdr/overlay/overlaymanagerbuffered.cxx @@ -429,7 +429,7 @@ namespace sdr mbRefreshWithPreRendering(bRefreshWithPreRendering) { // Init timer - maBufferIdle.SetPriority( VCL_IDLE_PRIORITY_HIGH ); + maBufferIdle.SetPriority( IdlePriority::VCL_IDLE_PRIORITY_HIGH ); maBufferIdle.SetIdleHdl(LINK(this, OverlayManagerBuffered, ImpBufferTimerHandler)); } diff --git a/svx/source/sidebar/PanelLayout.cxx b/svx/source/sidebar/PanelLayout.cxx index 6630d7ae55ba..fb062ffae677 100644 --- a/svx/source/sidebar/PanelLayout.cxx +++ b/svx/source/sidebar/PanelLayout.cxx @@ -20,7 +20,7 @@ PanelLayout::PanelLayout(vcl::Window* pParent, const OString& rID, const OUStrin { SetStyle(GetStyle() | WB_DIALOGCONTROL); m_pUIBuilder = new VclBuilder(this, getUIRootDir(), rUIXMLDescription, rID, rFrame); - m_aPanelLayoutIdle.SetPriority(VCL_IDLE_PRIORITY_RESIZE); + m_aPanelLayoutIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_RESIZE); m_aPanelLayoutIdle.SetIdleHdl( LINK( this, PanelLayout, ImplHandlePanelLayoutTimerHdl ) ); } diff --git a/svx/source/svdraw/svdibrow.cxx b/svx/source/svdraw/svdibrow.cxx index 2b0dc96be6aa..14acf29c9f48 100644 --- a/svx/source/svdraw/svdibrow.cxx +++ b/svx/source/svdraw/svdibrow.cxx @@ -1107,7 +1107,7 @@ void SdrItemBrowser::SetDirty() { if (!bDirty) { bDirty = true; - aIdle.SetPriority(VCL_IDLE_PRIORITY_HIGH); + aIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_HIGH); aIdle.Start(); } } diff --git a/svx/source/svdraw/svdpntv.cxx b/svx/source/svdraw/svdpntv.cxx index 346f74cc6bcd..f9c156653ea0 100644 --- a/svx/source/svdraw/svdpntv.cxx +++ b/svx/source/svdraw/svdpntv.cxx @@ -191,7 +191,7 @@ void SdrPaintView::ImpClearVars() pDefaultStyleSheet=NULL; bSomeObjChgdFlag=false; nGraphicManagerDrawMode = GRFMGR_DRAW_STANDARD; - aComeBackIdle.SetPriority(VCL_IDLE_PRIORITY_REPAINT); + aComeBackIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_REPAINT); aComeBackIdle.SetIdleHdl(LINK(this,SdrPaintView,ImpComeBackHdl)); if (pMod) |