summaryrefslogtreecommitdiff
path: root/svx
diff options
context:
space:
mode:
authorTobias Madl <tobias.madl.dev@gmail.com>2015-01-14 13:11:28 +0000
committerTobias Madl <tobias.madl.dev@gmail.com>2015-03-06 12:27:06 +0000
commit57656eb1fae5ae6c4d3b7542a385a93ff434e4e7 (patch)
tree7dc672090c6236ef7bd5a2bf5278cd03b89e2ef8 /svx
parent49524c6dcf04b9dadef8d2b084cf26abcf70b8a9 (diff)
Idle and Timer are now completely independent
And everything is functionating pretty well. Change-Id: Id7f5a995362f6f7c5235f2e9facb7c7f119f3140
Diffstat (limited to 'svx')
-rw-r--r--svx/inc/sdr/contact/objectcontactofpageview.hxx1
-rw-r--r--svx/source/inc/eventhandler.hxx3
-rw-r--r--svx/source/sdr/contact/objectcontactofpageview.cxx2
-rw-r--r--svx/source/sdr/contact/viewobjectcontactofpageobj.cxx3
4 files changed, 6 insertions, 3 deletions
diff --git a/svx/inc/sdr/contact/objectcontactofpageview.hxx b/svx/inc/sdr/contact/objectcontactofpageview.hxx
index c5e07fa0d946..3a822502e560 100644
--- a/svx/inc/sdr/contact/objectcontactofpageview.hxx
+++ b/svx/inc/sdr/contact/objectcontactofpageview.hxx
@@ -21,6 +21,7 @@
#define INCLUDED_SVX_INC_SDR_CONTACT_OBJECTCONTACTOFPAGEVIEW_HXX
#include <svx/sdr/contact/objectcontact.hxx>
+#include <vcl/idle.hxx>
// predeclarations
diff --git a/svx/source/inc/eventhandler.hxx b/svx/source/inc/eventhandler.hxx
index ea9da53634d0..ed8d2dd231ff 100644
--- a/svx/source/inc/eventhandler.hxx
+++ b/svx/source/inc/eventhandler.hxx
@@ -24,6 +24,7 @@
#include <vector>
#include <vcl/timer.hxx>
+#include <vcl/idle.hxx>
namespace sdr
{
@@ -95,7 +96,7 @@ namespace sdr
class TimerEventHandler : public EventHandler, public Idle
{
public:
- TimerEventHandler(IdlePriority ePriority = VCL_IDLE_PRIORITY_HIGH);
+ TimerEventHandler(IdlePriority ePriority = IdlePriority::VCL_IDLE_PRIORITY_HIGH);
virtual ~TimerEventHandler();
diff --git a/svx/source/sdr/contact/objectcontactofpageview.cxx b/svx/source/sdr/contact/objectcontactofpageview.cxx
index 949ac76952a8..fa1b39d43ae7 100644
--- a/svx/source/sdr/contact/objectcontactofpageview.cxx
+++ b/svx/source/sdr/contact/objectcontactofpageview.cxx
@@ -59,7 +59,7 @@ namespace sdr
setPreviewRenderer(((SdrPaintView&)rPageWindow.GetPageView().GetView()).IsPreviewRenderer());
// init timer
- SetPriority(VCL_IDLE_PRIORITY_HIGH);
+ SetPriority(IdlePriority::VCL_IDLE_PRIORITY_HIGH);
Stop();
}
diff --git a/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx b/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx
index 007dc7d82d14..a7806ffb3e93 100644
--- a/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx
+++ b/svx/source/sdr/contact/viewobjectcontactofpageobj.cxx
@@ -17,6 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <vcl/idle.hxx>
#include <svx/sdr/contact/viewobjectcontactofpageobj.hxx>
#include <svx/sdr/contact/viewcontactofpageobj.hxx>
#include <svx/svdopage.hxx>
@@ -83,7 +84,7 @@ PagePrimitiveExtractor::PagePrimitiveExtractor(
setPreviewRenderer(true);
// init timer
- SetPriority(VCL_IDLE_PRIORITY_HIGH);
+ SetPriority(IdlePriority::VCL_IDLE_PRIORITY_HIGH);
Stop();
}