summaryrefslogtreecommitdiff
path: root/odk/examples/DevelopersGuide/Accessibility/ConnectionTask.java
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-08-23 15:19:40 +0200
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2011-08-23 15:19:40 +0200
commit566a5bcb2039dbe6db6b9696449c6f5fe142c763 (patch)
tree2012c7ad41c5058904ba05848e17d1e248f7559d /odk/examples/DevelopersGuide/Accessibility/ConnectionTask.java
parentcbb79e541cd2aa1f56cf7fbefcf8d0ce9c8db664 (diff)
recreated tag libreoffice-3.3.0.4 which had these commits:
commit f4a669793477ff9765085fff8ced14cbe8d7f159 (tag: refs/tags/libreoffice-3.3.0.4, refs/remotes/origin/libreoffice-3-3-0) Author: Petr Mladek <pmladek@suse.cz> Date: Tue Jan 18 19:01:21 2011 +0100 Version 3.3.0.4, tag libreoffice-3.3.0.4 (3.3-rc4) commit c6241c81b61717941cf0a3e4a4188468ceddef07 Author: Petr Mladek <pmladek@suse.cz> Date: Tue Jan 11 22:59:38 2011 +0100 Branch libreoffice-3-3-0 This is 'libreoffice-3-3-0' - the stable branch for the 3.3.0 release. Only very safe changes, reviewed by three people are allowed. If you want to commit more complicated fix for the next 3.3.x release, please use the 'libreoffice-3-3' branch. If you want to build something cool, unstable, and risky, use master.
Notes
Notes: split repo tag: sdk_libreoffice-3.3.0.4
Diffstat (limited to 'odk/examples/DevelopersGuide/Accessibility/ConnectionTask.java')
-rw-r--r--odk/examples/DevelopersGuide/Accessibility/ConnectionTask.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/odk/examples/DevelopersGuide/Accessibility/ConnectionTask.java b/odk/examples/DevelopersGuide/Accessibility/ConnectionTask.java
index 7bf9bdb88cd5..56016c07aca6 100644
--- a/odk/examples/DevelopersGuide/Accessibility/ConnectionTask.java
+++ b/odk/examples/DevelopersGuide/Accessibility/ConnectionTask.java
@@ -2,7 +2,7 @@
*
* The Contents of this file are made available subject to the terms of
* the BSD license.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
* All rights reserved.
*
@@ -29,7 +29,7 @@
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
* USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
+ *
*************************************************************************/
import java.awt.event.ActionListener;
@@ -48,7 +48,7 @@ import com.sun.star.awt.XExtendedToolkit;
/** This timer task tries to connect to a running Office application in regular
intervals until a connection can be successfully established.
*/
-class ConnectionTask
+class ConnectionTask
extends TimerTask
{
public ConnectionTask (EventListenerProxy xListener)
@@ -67,7 +67,7 @@ class ConnectionTask
/** This method is run every time the task is executed. It tries to
- connect to and register the listener at an Office application. If it
+ connect to and register the listener at an Office application. If it
can establish a connection it terminates the timer task. Otherwise it
waits until the next activation.
*/
@@ -168,7 +168,7 @@ class ConnectionTask
try
{
com.sun.star.uno.XComponentContext xCmpContext = null;
-
+
// get the remote office component context
xCmpContext = com.sun.star.comp.helper.Bootstrap.bootstrap();
if( xCmpContext != null )
@@ -193,7 +193,7 @@ class ConnectionTask
return null;
}
- /** Time in milliseconds between two attempts to connect to an Office
+ /** Time in milliseconds between two attempts to connect to an Office
application.
*/
private int mnPeriod = 1000;