diff options
Diffstat (limited to 'cppuhelper')
-rw-r--r-- | cppuhelper/test/bootstrap/bootstrap.test.cxx | 17 |
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); |