summaryrefslogtreecommitdiffstats
path: root/test/source/cpp/officeconnection.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/source/cpp/officeconnection.cxx')
-rw-r--r--test/source/cpp/officeconnection.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/source/cpp/officeconnection.cxx b/test/source/cpp/officeconnection.cxx
index 7940a327b0fa..0365484ea9c8 100644
--- a/test/source/cpp/officeconnection.cxx
+++ b/test/source/cpp/officeconnection.cxx
@@ -68,6 +68,7 @@ void OfficeConnection::setUp() {
RTL_CONSTASCII_USTRINGPARAM("-quickstart=no"));
rtl::OUString nofirstArg(
RTL_CONSTASCII_USTRINGPARAM("-nofirststartwizard"));
+ rtl::OUString norestoreArg(RTL_CONSTASCII_USTRINGPARAM("-norestore"));
rtl::OUString acceptArg(
rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("-accept=")) + desc);
rtl::OUString argUser;
@@ -82,8 +83,8 @@ void OfficeConnection::setUp() {
rtl::OUString classpathArg(
RTL_CONSTASCII_USTRINGPARAM("-env:UNO_JAVA_JFW_ENV_CLASSPATH=true"));
rtl_uString * args[] = {
- noquickArg.pData, nofirstArg.pData, acceptArg.pData, userArg.pData,
- jreArg.pData, classpathArg.pData };
+ noquickArg.pData, nofirstArg.pData, norestoreArg.pData, acceptArg.pData,
+ userArg.pData, jreArg.pData, classpathArg.pData };
rtl_uString ** envs = 0;
rtl::OUString argEnv;
if (getArgument(rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("env")), &argEnv))