summaryrefslogtreecommitdiff
path: root/unoxml/qa/complex/unoxml/TestDocument.java
diff options
context:
space:
mode:
Diffstat (limited to 'unoxml/qa/complex/unoxml/TestDocument.java')
-rw-r--r--unoxml/qa/complex/unoxml/TestDocument.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/unoxml/qa/complex/unoxml/TestDocument.java b/unoxml/qa/complex/unoxml/TestDocument.java
index bce9510e4d94..d64431f21741 100644
--- a/unoxml/qa/complex/unoxml/TestDocument.java
+++ b/unoxml/qa/complex/unoxml/TestDocument.java
@@ -29,10 +29,11 @@ package complex.unoxml;
import java.io.File;
import org.openoffice.test.OfficeFileUrl;
+import org.openoffice.test.Argument;
final class TestDocument {
public static String getUrl(String name) {
- return OfficeFileUrl.getAbsolute(new File("testdocuments", name));
+ return OfficeFileUrl.getAbsolute(new File(Argument.get("tdoc"), name));
}
private TestDocument() {}