summaryrefslogtreecommitdiff
path: root/basic
diff options
context:
space:
mode:
authorAndreas Bregas <ab@openoffice.org>2010-08-06 11:14:17 +0200
committerAndreas Bregas <ab@openoffice.org>2010-08-06 11:14:17 +0200
commitdf1e6343ba123c0a45b25eb7ed3ae6d53749b33f (patch)
treed4281f1a57b67570f700ee646c1fcbe251204c10 /basic
parente2b85f96b67ac4bb9f26a60c11cedc98ec52206f (diff)
mib18: #163175# Implement DoEvents empty
Diffstat (limited to 'basic')
-rw-r--r--basic/source/runtime/methods1.cxx12
1 files changed, 7 insertions, 5 deletions
diff --git a/basic/source/runtime/methods1.cxx b/basic/source/runtime/methods1.cxx
index 9d806cac933a..62e9c388f5c5 100644
--- a/basic/source/runtime/methods1.cxx
+++ b/basic/source/runtime/methods1.cxx
@@ -528,11 +528,13 @@ RTLFUNC(DoEvents)
(void)pBasic;
(void)bWrite;
(void)rPar;
- Timer aTimer;
- aTimer.SetTimeout( 1 );
- aTimer.Start();
- while ( aTimer.IsActive() )
- Application::Yield();
+ // Dummy implementation as the following code leads
+ // to performance problems for unknown reasons
+ //Timer aTimer;
+ //aTimer.SetTimeout( 1 );
+ //aTimer.Start();
+ //while ( aTimer.IsActive() )
+ // Application::Reschedule();
}
RTLFUNC(GetGUIVersion)