diff options
Diffstat (limited to 'qadevOOo/tests/java/mod/_sc/ScAccessibleCsvRuler.java')
-rw-r--r-- | qadevOOo/tests/java/mod/_sc/ScAccessibleCsvRuler.java | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/qadevOOo/tests/java/mod/_sc/ScAccessibleCsvRuler.java b/qadevOOo/tests/java/mod/_sc/ScAccessibleCsvRuler.java index 73cd68f0f484..d41103abad15 100644 --- a/qadevOOo/tests/java/mod/_sc/ScAccessibleCsvRuler.java +++ b/qadevOOo/tests/java/mod/_sc/ScAccessibleCsvRuler.java @@ -62,7 +62,7 @@ public class ScAccessibleCsvRuler extends TestCase { PrintWriter log) { XInterface oObj = null; - shortWait(); + util.utils.pause(2000); XMultiServiceFactory msf = Param.getMSF(); @@ -172,22 +172,10 @@ public class ScAccessibleCsvRuler extends TestCase { lThread = new loadThread(SOF, args); lThread.start(); - shortWait(); + util.utils.pause(2000); } - /** - * Sleeps for 2 sec. to allow StarOffice to react on <code> - * reset</code> call. - */ - private void shortWait() { - try { - Thread.sleep(2000) ; - } catch (InterruptedException e) { - log.println("While waiting :" + e) ; - } - } - private class loadThread extends Thread { private final SOfficeFactory SOF; |