summaryrefslogtreecommitdiff
path: root/sw/qa/complex/writer/TestDocument.java
diff options
context:
space:
mode:
Diffstat (limited to 'sw/qa/complex/writer/TestDocument.java')
-rw-r--r--sw/qa/complex/writer/TestDocument.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/sw/qa/complex/writer/TestDocument.java b/sw/qa/complex/writer/TestDocument.java
index 25a11338ae5c..088c9aede3d6 100644
--- a/sw/qa/complex/writer/TestDocument.java
+++ b/sw/qa/complex/writer/TestDocument.java
@@ -29,10 +29,11 @@ package complex.writer;
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() {}