summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
Diffstat (limited to 'svx')
-rw-r--r--svx/inc/sdr/overlay/overlaymanagerbuffered.hxx3
-rw-r--r--svx/inc/svdibrow.hxx1
-rw-r--r--svx/source/sdr/overlay/overlaymanagerbuffered.cxx2
-rw-r--r--svx/source/sidebar/PanelLayout.cxx2
-rw-r--r--svx/source/svdraw/svdibrow.cxx2
-rw-r--r--svx/source/svdraw/svdpntv.cxx2
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)