summaryrefslogtreecommitdiff
path: root/cppuhelper/test/bootstrap/bootstrap.test.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'cppuhelper/test/bootstrap/bootstrap.test.cxx')
-rw-r--r--cppuhelper/test/bootstrap/bootstrap.test.cxx17
1 files changed, 1 insertions, 16 deletions
diff --git a/cppuhelper/test/bootstrap/bootstrap.test.cxx b/cppuhelper/test/bootstrap/bootstrap.test.cxx
index ef57f71d2bf8..d49f9534d12d 100644
--- a/cppuhelper/test/bootstrap/bootstrap.test.cxx
+++ b/cppuhelper/test/bootstrap/bootstrap.test.cxx
@@ -147,22 +147,7 @@ static rtl::OUString s_getSDrive(void)
{
rtl::OUString path;//(RTL_CONSTASCII_USTRINGPARAM("file://"));
- char const * tmp = getenv("SOLARVER");
- path += rtl::OUString(tmp, rtl_str_getLength(tmp), RTL_TEXTENCODING_ASCII_US);
- path += rtl::OUString(SAL_PATHDELIMITER);
-
- tmp = getenv("INPATH");
- path += rtl::OUString(tmp, rtl_str_getLength(tmp), RTL_TEXTENCODING_ASCII_US);
- path += rtl::OUString(SAL_PATHDELIMITER);
-#ifdef WIN32
- path += "bin";
-#else
- path += "lib";
-#endif
-
- tmp = getenv("UPDMINOREXT");
- if (tmp)
- path += rtl::OUString(tmp, rtl_str_getLength(tmp), RTL_TEXTENCODING_ASCII_US);
+ // FIXME no more S drive
osl::FileBase::getFileURLFromSystemPath(path, path);