summaryrefslogtreecommitdiff
path: root/bean/qa
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-04-26 08:36:04 +0200
committerNoel Grandin <noel@peralex.com>2013-04-26 08:36:04 +0200
commit6f17a2f66fa2a4fec56334783410005c4f2f357a (patch)
tree728696d0f0603783e8d50b9c4c7b43f3016d51ce /bean/qa
parent6d4c1f0d4a623bf7f3b3a0af2ece5c969d5aec77 (diff)
Java cleanup, access static methods using correct syntax
Change-Id: I8443aef43d82de33ac7cb47d40cc5b544f7c9c87
Diffstat (limited to 'bean/qa')
-rw-r--r--bean/qa/complex/bean/OOoBeanTest.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/bean/qa/complex/bean/OOoBeanTest.java b/bean/qa/complex/bean/OOoBeanTest.java
index c72e18e25647..bb12bca5aa05 100644
--- a/bean/qa/complex/bean/OOoBeanTest.java
+++ b/bean/qa/complex/bean/OOoBeanTest.java
@@ -19,7 +19,6 @@ package complex.bean;
import java.awt.event.*;
-import java.awt.event.KeyEvent;
import com.sun.star.comp.beans.OOoBean;
import com.sun.star.uno.UnoRuntime;
@@ -483,7 +482,7 @@ public class OOoBeanTest
for (; i < 1; i++)
{
EventQueue q = Toolkit.getDefaultToolkit().getSystemEventQueue();
- q.invokeAndWait( new Runnable() {
+ EventQueue.invokeAndWait( new Runnable() {
public void run() {
try {
@@ -499,7 +498,7 @@ public class OOoBeanTest
});
// #2
Thread.sleep(1000);
- q.invokeAndWait( new Runnable() {
+ EventQueue.invokeAndWait( new Runnable() {
public void run() {
try {