INTEGRATION: CWS qwizardsbf6 (1.7.40); FILE MERGED

2005/07/15 09:37:15 tv 1.7.40.1: #i48610# sanity check with the retrieval of the Office path
This commit is contained in:
Jens-Heiner Rechtien
2005-09-23 14:29:35 +00:00
parent f26dab653c
commit 3b78668de0

View File

@@ -4,9 +4,9 @@
* *
* $RCSfile: FileAccess.java,v $ * $RCSfile: FileAccess.java,v $
* *
* $Revision: 1.8 $ * $Revision: 1.9 $
* *
* last change: $Author: rt $ $Date: 2005-09-09 09:19:51 $ * last change: $Author: hr $ $Date: 2005-09-23 15:29:35 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
@@ -148,7 +148,8 @@ public class FileAccess {
iPos = CurPath.length() - EndLength; iPos = CurPath.length() - EndLength;
if ((CurPath.indexOf(sType) > 0) || (CurPath.indexOf(EndString) == iPos)) { if ((CurPath.indexOf(sType) > 0) || (CurPath.indexOf(EndString) == iPos)) {
ResultPath = deleteLastSlashfromUrl(CurPath); ResultPath = deleteLastSlashfromUrl(CurPath);
break; if (xSimpleFileAccess.exists(ResultPath))
break;
} }
} }
} else } else