summaryrefslogtreecommitdiff
path: root/qadevOOo/tests/java/mod/_sm/SmGraphicAccessible.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/tests/java/mod/_sm/SmGraphicAccessible.java')
-rw-r--r--qadevOOo/tests/java/mod/_sm/SmGraphicAccessible.java16
1 files changed, 2 insertions, 14 deletions
diff --git a/qadevOOo/tests/java/mod/_sm/SmGraphicAccessible.java b/qadevOOo/tests/java/mod/_sm/SmGraphicAccessible.java
index eabf3fe888e8..6c9bc29a4917 100644
--- a/qadevOOo/tests/java/mod/_sm/SmGraphicAccessible.java
+++ b/qadevOOo/tests/java/mod/_sm/SmGraphicAccessible.java
@@ -132,9 +132,9 @@ public class SmGraphicAccessible extends TestCase {
try {
xAC.grabFocus();
xPS.setPropertyValue("Formula", "sum hat x");
- shortWait();
+ util.utils.pause(1000);
xPS.setPropertyValue("Formula", expFormula);
- shortWait();
+ util.utils.pause(1000);
} catch(com.sun.star.lang.WrappedTargetException e) {
} catch(com.sun.star.lang.IllegalArgumentException e) {
} catch(com.sun.star.beans.PropertyVetoException e) {
@@ -155,16 +155,4 @@ public class SmGraphicAccessible extends TestCase {
log.println( " disposing xMathDoc " );
xMathDoc.dispose();
}
-
- /**
- * Sleeps for 0.5 sec. to allow StarOffice to react on <code>
- * reset</code> call.
- */
- private void shortWait() {
- try {
- Thread.sleep(1000) ;
- } catch (InterruptedException e) {
- log.println("While waiting :" + e) ;
- }
- }
} // finish class SmModel