summaryrefslogtreecommitdiff
path: root/chart2/source
diff options
context:
space:
mode:
authorJennifer Liebel <jliebel94@gmail.com>2015-01-14 09:25:30 +0000
committerTobias Madl <tobias.madl.dev@gmail.com>2015-03-06 12:27:06 +0000
commit49524c6dcf04b9dadef8d2b084cf26abcf70b8a9 (patch)
tree88702970cd6437b0e1e25ef15e46a58b696b1eb7 /chart2/source
parent826143684d2697a8620373dce18fa5f24332d5cb (diff)
idle includes and enum use
Change-Id: I8a280c54d81c7da74c9ab03ff3fc788e373ca4e4
Diffstat (limited to 'chart2/source')
-rw-r--r--chart2/source/view/charttypes/GL3DBarChart.cxx2
-rw-r--r--chart2/source/view/inc/GL3DBarChart.hxx1
2 files changed, 2 insertions, 1 deletions
diff --git a/chart2/source/view/charttypes/GL3DBarChart.cxx b/chart2/source/view/charttypes/GL3DBarChart.cxx
index 63081117c333..b846eb6c58bb 100644
--- a/chart2/source/view/charttypes/GL3DBarChart.cxx
+++ b/chart2/source/view/charttypes/GL3DBarChart.cxx
@@ -560,7 +560,7 @@ GL3DBarChart::GL3DBarChart(
{
mbAutoFly = atoi(aAutoFly);
}
- maIdle.SetPriority(VCL_IDLE_PRIORITY_REPAINT);
+ maIdle.SetPriority(IdlePriority::VCL_IDLE_PRIORITY_REPAINT);
maIdle.SetIdleHdl(LINK(this, GL3DBarChart, UpdateTimerHdl));
maIdle.Start();
osl_getSystemTime(&maFPSRenderStartTime);
diff --git a/chart2/source/view/inc/GL3DBarChart.hxx b/chart2/source/view/inc/GL3DBarChart.hxx
index f02f98ed5978..c68a38510d66 100644
--- a/chart2/source/view/inc/GL3DBarChart.hxx
+++ b/chart2/source/view/inc/GL3DBarChart.hxx
@@ -19,6 +19,7 @@
#include <glm/glm.hpp>
#include <vcl/timer.hxx>
+#include <vcl/idle.hxx>
#include <vcl/openglwin.hxx>
#include <rtl/ref.hxx>