diff options
Diffstat (limited to 'vcl/generic/print/genprnpsp.cxx')
-rw-r--r-- | vcl/generic/print/genprnpsp.cxx | 3 |
1 files changed, 2 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(); } |