diff options
Diffstat (limited to 'vcl/osx/salinst.cxx')
-rw-r--r-- | vcl/osx/salinst.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/vcl/osx/salinst.cxx b/vcl/osx/salinst.cxx index b8172e153cf7..fcec7b6a5c92 100644 --- a/vcl/osx/salinst.cxx +++ b/vcl/osx/salinst.cxx @@ -194,9 +194,8 @@ sal_Bool ImplSVMainHook( int * pnInit ) bNoSVMain = false; initNSApp(); - NSPoint aPt = { 0, 0 }; NSEvent* pEvent = [NSEvent otherEventWithType: NSApplicationDefined - location: aPt + location: NSZeroPoint modifierFlags: 0 timestamp: 0 windowNumber: 0 @@ -422,9 +421,8 @@ void AquaSalInstance::wakeupYield() if( mbWaitingYield ) { SalData::ensureThreadAutoreleasePool(); - NSPoint aPt = { 0, 0 }; NSEvent* pEvent = [NSEvent otherEventWithType: NSApplicationDefined - location: aPt + location: NSZeroPoint modifierFlags: 0 timestamp: 0 windowNumber: 0 |