summaryrefslogtreecommitdiff
path: root/vcl/source/app
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2014-09-23 21:27:46 +0100
committerMichael Meeks <michael.meeks@collabora.com>2014-09-23 21:30:47 +0100
commitda21f7da44dc577a08ea3bc210083dc8decf18bc (patch)
treebd7ca8196696b8aaa89fa86cae2dccda78524db2 /vcl/source/app
parent211b3192f05c4120fa2dd0e23988e74bdd310830 (diff)
fdo#84000 - unwind recursive timer issues.
Seemingly timers were not being issued or re-queued. Handle recursion issues in the main thread, not in the timer thread. Change-Id: I4f49341115bb7c7b1613e61f77a467154818a8aa
Diffstat (limited to 'vcl/source/app')
-rw-r--r--vcl/source/app/timer.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/source/app/timer.cxx b/vcl/source/app/timer.cxx
index f83f55ceb14e..1f9870b2b436 100644
--- a/vcl/source/app/timer.cxx
+++ b/vcl/source/app/timer.cxx
@@ -70,6 +70,7 @@ static void ImplStartTimer( ImplSVData* pSVData, sal_uLong nMS )
if ( !nMS )
nMS = 1;
+ // Assume underlying timers are recurring timers, if same period - just wait.
if ( nMS != pSVData->mnTimerPeriod )
{
pSVData->mnTimerPeriod = nMS;