diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-08-18 12:04:24 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-08-18 12:04:24 +0000 |
commit | e713cf349ab8b6684397ee259008839512d4f97c (patch) | |
tree | f3c40c898c2186975306424eff8f27e431f694b7 /vcl/aqua/source/app/saltimer.cxx | |
parent | af2af071d98d577d61e7ab7bacab96499706d6d2 (diff) |
INTEGRATION: CWS vcl30stop2 (1.19.74); FILE MERGED
2008/07/28 09:54:13 pl 1.19.74.1: #i92075# protect timer call with solarmutex
Diffstat (limited to 'vcl/aqua/source/app/saltimer.cxx')
-rw-r--r-- | vcl/aqua/source/app/saltimer.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/aqua/source/app/saltimer.cxx b/vcl/aqua/source/app/saltimer.cxx index 2d90fff9f2a4..6a313013f8d1 100644 --- a/vcl/aqua/source/app/saltimer.cxx +++ b/vcl/aqua/source/app/saltimer.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: saltimer.cxx,v $ - * $Revision: 1.19 $ + * $Revision: 1.20 $ * * This file is part of OpenOffice.org. * @@ -107,6 +107,7 @@ void AquaSalTimer::handleStartTimerEvent( NSEvent* pEvent ) NSTimeInterval current = [NSDate timeIntervalSinceReferenceDate]; if( (posted - current) <= 0.0 ) { + YIELD_GUARD; // timer already elapsed since event posted pSVData->mpSalTimer->CallCallback(); } |