diff options
Diffstat (limited to 'sfx2/qa/complex/framework/TestDocument.java')
-rw-r--r-- | sfx2/qa/complex/framework/TestDocument.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sfx2/qa/complex/framework/TestDocument.java b/sfx2/qa/complex/framework/TestDocument.java index 8cc6ef7756..fa60ff2057 100644 --- a/sfx2/qa/complex/framework/TestDocument.java +++ b/sfx2/qa/complex/framework/TestDocument.java @@ -29,10 +29,11 @@ package complex.framework; 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(org.openoffice.test.Argument.get("docpath"), name)); } private TestDocument() {} |