diff options
author | Noel Grandin <noel@peralex.com> | 2013-04-26 08:36:04 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-04-26 08:36:04 +0200 |
commit | 6f17a2f66fa2a4fec56334783410005c4f2f357a (patch) | |
tree | 728696d0f0603783e8d50b9c4c7b43f3016d51ce /bean/com | |
parent | 6d4c1f0d4a623bf7f3b3a0af2ece5c969d5aec77 (diff) |
Java cleanup, access static methods using correct syntax
Change-Id: I8443aef43d82de33ac7cb47d40cc5b544f7c9c87
Diffstat (limited to 'bean/com')
-rw-r--r-- | bean/com/sun/star/beans/LocalOfficeWindow.java | 2 | ||||
-rw-r--r-- | bean/com/sun/star/comp/beans/LocalOfficeConnection.java | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/bean/com/sun/star/beans/LocalOfficeWindow.java b/bean/com/sun/star/beans/LocalOfficeWindow.java index 90ddbe8a8311..7d81eb041619 100644 --- a/bean/com/sun/star/beans/LocalOfficeWindow.java +++ b/bean/com/sun/star/beans/LocalOfficeWindow.java @@ -274,7 +274,7 @@ public class LocalOfficeWindow aWatchedThread = null; stop(); - if ( aThread.interrupted() ) + if ( Thread.interrupted() ) throw new InterruptedException(); } diff --git a/bean/com/sun/star/comp/beans/LocalOfficeConnection.java b/bean/com/sun/star/comp/beans/LocalOfficeConnection.java index 27467f051c5b..c8bafaa6e9a0 100644 --- a/bean/com/sun/star/comp/beans/LocalOfficeConnection.java +++ b/bean/com/sun/star/comp/beans/LocalOfficeConnection.java @@ -315,8 +315,9 @@ public class LocalOfficeConnection { try { + Thread.currentThread(); // try to connect to soffice - Thread.currentThread().sleep( 500 ); + Thread.sleep( 500 ); aInitialObject = resolve(xLocalContext, mURL); } catch( com.sun.star.connection.NoConnectException aEx ) |