summaryrefslogtreecommitdiff
path: root/qadevOOo/runner/helper/URLHelper.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/runner/helper/URLHelper.java')
-rw-r--r--qadevOOo/runner/helper/URLHelper.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/qadevOOo/runner/helper/URLHelper.java b/qadevOOo/runner/helper/URLHelper.java
index 39bff1485747..587d7de8db05 100644
--- a/qadevOOo/runner/helper/URLHelper.java
+++ b/qadevOOo/runner/helper/URLHelper.java
@@ -1,7 +1,7 @@
/*************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
+ *
* Copyright 2000, 2010 Oracle and/or its affiliates.
*
* OpenOffice.org - a multi-platform office productivity suite
@@ -149,9 +149,9 @@ public class URLHelper
// cut last '/'!
if (sServerURL.lastIndexOf('/')==(sServerURL.length()-1))
sServerURL = sServerURL.substring(0,sServerURL.length()-1);
-
+
int index = sFileURL.indexOf(sBaseURL);
- String sURL = sFileURL.substring(0,index) + sServerURL +
+ String sURL = sFileURL.substring(0,index) + sServerURL +
sFileURL.substring(index+sBaseURL.length());
//String sURL = sFileURL.replaceFirst(sBaseURL,sServerURL);
return sURL;