- Timestamp:
- 03/08/10 21:24:12 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Jav_Transform/src/com/scenari/s/co/transform/oo/impl/OoConnection.java
r14620 r15079 153 153 /** Mémoire du fExternalUriReferenceTranslator. */ 154 154 protected XExternalUriReferenceTranslator fExternalUriReferenceTranslator; 155 155 156 156 /** Process en cours. */ 157 157 protected Process fOoProcess = null; … … 343 343 */ 344 344 public void freedInPool() throws Exception { 345 if (fAutoLaunch && fHeadless && fOoProcess != null && fUsageCount >= 5) {345 if (fAutoLaunch && fHeadless && fOoProcess != null && fUsageCount >= 5) { 346 346 fComponentContext = null; 347 347 fServiceMgr = null; … … 437 437 String vOfficeExePath = OoFinder.getPath() + "/" + (ISWIN ? "soffice.exe" : (ISMAC ? "soffice.bin" : "soffice")); 438 438 File vOfficeExe = new File(vOfficeExePath); 439 if (vOfficeExe == null ) throw new Exception("no OpenOffice executable found! (searching for '" + vOfficeExePath + "')");439 if (vOfficeExe == null || !vOfficeExe.canRead()) throw new Exception("no OpenOffice executable found! (searching for '" + vOfficeExePath + "')"); 440 440 441 441 if (fMaxCnxAttempts <= 0) {
Note: See TracChangeset
for help on using the changeset viewer.