diff options
author | Tobias Madl <tobias.madl.dev@gmail.com> | 2015-03-06 14:48:18 +0100 |
---|---|---|
committer | Tobias Madl <tobias.madl.dev@gmail.com> | 2015-03-06 14:51:48 +0100 |
commit | d05a64df34fd143670cb939b72abfb32d6b714c7 (patch) | |
tree | 3dc542680cd3728419b9c95e34325f42047986e5 /vcl/osx | |
parent | 01f406bc28f53acc5a2734af637aa8074a5d1813 (diff) |
Timer/Idle: adapted inherited funktions
Change-Id: I7714a4638b03d020820b276028c0819ef054fa26
Diffstat (limited to 'vcl/osx')
-rw-r--r-- | vcl/osx/salinst.cxx | 6 | ||||
-rw-r--r-- | vcl/osx/salnativewidgets.cxx | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/vcl/osx/salinst.cxx b/vcl/osx/salinst.cxx index 2b65fda59386..b12523050031 100644 --- a/vcl/osx/salinst.cxx +++ b/vcl/osx/salinst.cxx @@ -29,7 +29,7 @@ #include "vcl/svapp.hxx" #include "vcl/window.hxx" -#include "vcl/timer.hxx" +#include "vcl/idle.hxx" #include "vcl/svmain.hxx" #include "vcl/opengl/OpenGLContext.hxx" @@ -79,7 +79,7 @@ class AquaDelayedSettingsChanged : public Idle { } - virtual void Timeout() SAL_OVERRIDE + virtual void Invoke() SAL_OVERRIDE { SalData* pSalData = GetSalData(); if( ! pSalData->maFrames.empty() ) @@ -103,7 +103,7 @@ void AquaSalInstance::delayedSettingsChanged( bool bInvalidate ) { osl::Guard< comphelper::SolarMutex > aGuard( *mpSalYieldMutex ); AquaDelayedSettingsChanged* pIdle = new AquaDelayedSettingsChanged( bInvalidate ); - pIdle->SetPriority( MEDIUM ); + pIdle->SetPriority( SchedulerPriority::MEDIUM ); pIdle->Start(); } diff --git a/vcl/osx/salnativewidgets.cxx b/vcl/osx/salnativewidgets.cxx index 41b749a3964f..cd2b8c5b892e 100644 --- a/vcl/osx/salnativewidgets.cxx +++ b/vcl/osx/salnativewidgets.cxx @@ -63,7 +63,7 @@ class AquaBlinker : public Timer static void Blink( AquaSalFrame*, const Rectangle&, int nTimeout = 80 ); - virtual void Timeout() SAL_OVERRIDE + virtual void Invoke() SAL_OVERRIDE { Stop(); if( AquaSalFrame::isAlive( mpFrame ) && mpFrame->mbShown ) |