diff options
author | Herbert Dürr <hdu@apache.org> | 2014-02-24 09:08:02 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-02-24 13:17:37 +0000 |
commit | 42837a066b2347effa75926104f3f3ffc96206b7 (patch) | |
tree | 4fac4398665aafa9b2b66c685dfa0c5df6cd1fb7 /vcl/osx/saltimer.cxx | |
parent | 93f3f72d18e551c8edd6a010cb78d9cbe404f8ef (diff) |
Resolves: #i123840# prefer NSZero* constants over open coded alternatives
(cherry picked from commit a8c471a7003fdac7d5e1c97e903f669da6bcf0c7)
Conflicts:
vcl/osx/salframe.cxx
vcl/osx/salframeview.mm
vcl/osx/salnsmenu.mm
vcl/osx/salobj.cxx
Change-Id: I379d80355d741dd28aad2e6119a8b82ac10159f5
Diffstat (limited to 'vcl/osx/saltimer.cxx')
-rw-r--r-- | vcl/osx/saltimer.cxx | 3 |
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 |