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
commite50f8b059ea9f4e96e64a931caeb909cf4628bff (patch)
tree864ff18d3373b60dfcb33e7e9458f5bcb91e1883 /basic
parent9134fb31919cd977801d2813e60bc3396c8910ec (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 6e1a0c02d1..1fd7263725 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)