diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2017-01-29 01:27:17 +0100 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2017-07-13 12:10:20 +0200 |
commit | d72aad218c9737fb19d1a835b03c13b7107a96c0 (patch) | |
tree | c77c9ad4ee2a576b6bd5474d12259608a1d0196e /vcl/osx/saltimer.cxx | |
parent | c0710abfebd320903a3edb23d4b1441ea351b0be (diff) |
Refactor Scheduler global data
Move all Scheduler members of ImplSVData into ImplSchedulerContext
and make ImplSchedulerContext a member of ImplSVData.
Change-Id: I186bebdfb5701543595848968235b5a56b6598e9
Diffstat (limited to 'vcl/osx/saltimer.cxx')
-rw-r--r-- | vcl/osx/saltimer.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/osx/saltimer.cxx b/vcl/osx/saltimer.cxx index 9b2c1df83c83..86e42553d097 100644 --- a/vcl/osx/saltimer.cxx +++ b/vcl/osx/saltimer.cxx @@ -93,18 +93,18 @@ void ImplSalStopTimer() void AquaSalTimer::handleStartTimerEvent( NSEvent* pEvent ) { ImplSVData* pSVData = ImplGetSVData(); - if( pSVData->mpSalTimer ) + if( pSVData->maSchedCtx.mpSalTimer ) { NSTimeInterval posted = [pEvent timestamp] + NSTimeInterval([pEvent data1])/1000.0; NSTimeInterval current = [NSDate timeIntervalSinceReferenceDate]; if( (posted - current) <= 0.0 ) { SolarMutexGuard aGuard; - if( pSVData->mpSalTimer ) + if( pSVData->maSchedCtx.mpSalTimer ) { // timer already elapsed since event posted bool const idle = true; // TODO - pSVData->mpSalTimer->CallCallback( idle ); + pSVData->maSchedCtx.mpSalTimer->CallCallback( idle ); } } ImplSalStartTimer( sal_uLong( [pEvent data1] ) ); |