diff options
author | Kurt Zenker <kz@openoffice.org> | 2005-11-02 16:43:31 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2005-11-02 16:43:31 +0000 |
commit | 94366d5c86cf6e5052e049a061911cdb257f7f17 (patch) | |
tree | d82aa6d6002276346eb1d758a3332e53985f5867 /qadevOOo/runner | |
parent | a6aae258ce4ddb3ec68c815dbbb451a93f66d5b8 (diff) |
INTEGRATION: CWS qadev24 (1.17.2); FILE MERGED
2005/09/19 22:08:19 cn 1.17.2.2: RESYNC: (1.17-1.18); FILE MERGED
2005/08/30 13:09:32 cn 1.17.2.1: #i53977# the closing time for a self closing of the office get a new parameter 'OfficeCloseTimeOut' which is 5000 ms by default
Diffstat (limited to 'qadevOOo/runner')
-rw-r--r-- | qadevOOo/runner/helper/OfficeProvider.java | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/qadevOOo/runner/helper/OfficeProvider.java b/qadevOOo/runner/helper/OfficeProvider.java index b6ebdecf24eb..410f1c2197d4 100644 --- a/qadevOOo/runner/helper/OfficeProvider.java +++ b/qadevOOo/runner/helper/OfficeProvider.java @@ -4,9 +4,9 @@ * * $RCSfile: OfficeProvider.java,v $ * - * $Revision: 1.18 $ + * $Revision: 1.19 $ * - * last change: $Author: rt $ $Date: 2005-09-08 17:19:35 $ + * last change: $Author: kz $ $Date: 2005-11-02 17:43:31 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -408,7 +408,12 @@ public class OfficeProvider implements AppProvider { } try { - Thread.sleep(5000); + int closeTime = param.getInt(util.PropertyName.OFFICE_CLOSE_TIME_OUT); + if (debug){ + System.out.println("the Office has " + closeTime/1000 + + " seconds for closing..."); + } + Thread.sleep(closeTime); } catch (java.lang.InterruptedException e) { } } |