summaryrefslogtreecommitdiff
path: root/vcl/osx/saltimer.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/osx/saltimer.cxx')
-rw-r--r--vcl/osx/saltimer.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/osx/saltimer.cxx b/vcl/osx/saltimer.cxx
index ad0959048964..df8396be2c19 100644
--- a/vcl/osx/saltimer.cxx
+++ b/vcl/osx/saltimer.cxx
@@ -65,9 +65,8 @@ void ImplSalStartTimer( sal_uLong nMS )
{
SalData::ensureThreadAutoreleasePool();
// post an event so we can get into the main thread
- NSPoint aPt = { 0, 0 };
NSEvent* pEvent = [NSEvent otherEventWithType: NSApplicationDefined
- location: aPt
+ location: NSZeroPoint
modifierFlags: 0
timestamp: [NSDate timeIntervalSinceReferenceDate]
windowNumber: 0