summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorTobias Madl <tobias.madl.dev@gmail.com>2015-01-14 10:21:20 +0100
committerTobias Madl <tobias.madl.dev@gmail.com>2015-03-06 12:27:05 +0000
commit826143684d2697a8620373dce18fa5f24332d5cb (patch)
tree88be6f99b02c8c9fea849c3125b9e23a18be65f9 /vcl
parentd8305248f687ffa522b56955508d82d60ad5b8c6 (diff)
Timer: Adapted all idle includes and enum uses
Change-Id: Id4ef36d6c80ad62306bdbaa7094c2cb0b8ff77da
Diffstat (limited to 'vcl')
-rw-r--r--vcl/generic/print/genprnpsp.cxx3
-rw-r--r--vcl/source/edit/textdat2.hxx1
2 files changed, 3 insertions, 1 deletions
diff --git a/vcl/generic/print/genprnpsp.cxx b/vcl/generic/print/genprnpsp.cxx
index 093590443375..458a5171fe21 100644
--- a/vcl/generic/print/genprnpsp.cxx
+++ b/vcl/generic/print/genprnpsp.cxx
@@ -42,6 +42,7 @@
#include "vcl/dialog.hxx"
#include "vcl/edit.hxx"
#include "vcl/fixed.hxx"
+#include "vcl/idle.hxx"
#include "vcl/svapp.hxx"
#include "vcl/print.hxx"
#include "vcl/pdfwriter.hxx"
@@ -1327,7 +1328,7 @@ void PrinterUpdate::update(SalGenericInstance &rInstance)
else if( ! pPrinterUpdateIdle )
{
pPrinterUpdateIdle = new Idle();
- pPrinterUpdateIdle->SetPriority( VCL_IDLE_PRIORITY_LOWEST );
+ pPrinterUpdateIdle->SetPriority( IdlePriority::VCL_IDLE_PRIORITY_LOWEST );
pPrinterUpdateIdle->SetIdleHdl( STATIC_LINK( NULL, PrinterUpdate, UpdateTimerHdl ) );
pPrinterUpdateIdle->Start();
}
diff --git a/vcl/source/edit/textdat2.hxx b/vcl/source/edit/textdat2.hxx
index e93f78595acf..81785cf35fce 100644
--- a/vcl/source/edit/textdat2.hxx
+++ b/vcl/source/edit/textdat2.hxx
@@ -23,6 +23,7 @@
#include <vcl/seleng.hxx>
#include <vcl/virdev.hxx>
#include <vcl/cursor.hxx>
+#include <vcl/idle.hxx>
#include <boost/ptr_container/ptr_vector.hpp>