summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--unotest/source/cpp/officeconnection.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/unotest/source/cpp/officeconnection.cxx b/unotest/source/cpp/officeconnection.cxx
index f89465b2c492..7a15161031e5 100644
--- a/unotest/source/cpp/officeconnection.cxx
+++ b/unotest/source/cpp/officeconnection.cxx
@@ -66,11 +66,10 @@ void OfficeConnection::setUp() {
OUString userArg("-env:UserInstallation=" + toAbsoluteFileUrl(argUser));
OUString jreArg(
"-env:UNO_JAVA_JFW_ENV_JREHOME=true");
- OUString classpathArg("-env:UNO_JAVA_JFW_ENV_CLASSPATH=true");
rtl_uString * args[] = {
noquickArg.pData, norestoreArg.pData,
nologoArg.pData, headlessArg.pData, acceptArg.pData, userArg.pData,
- jreArg.pData, classpathArg.pData };
+ jreArg.pData };
rtl_uString ** envs = nullptr;
OUString argEnv;
if (detail::getArgument("env", &argEnv))