[Libreoffice-commits] .: test/source

Caolán McNamara caolan at kemper.freedesktop.org
Tue Jan 11 12:54:52 PST 2011


 test/source/cpp/officeconnection.cxx |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

New commits:
commit 3b1218207f62389a239acaa7ff1439dcc6827cc7
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Tue Jan 11 20:54:45 2011 +0000

    these short options now deprecated, so use long ones

diff --git a/test/source/cpp/officeconnection.cxx b/test/source/cpp/officeconnection.cxx
index fd71df6..93de7f7 100644
--- a/test/source/cpp/officeconnection.cxx
+++ b/test/source/cpp/officeconnection.cxx
@@ -73,14 +73,14 @@ void OfficeConnection::setUp() {
         desc = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("pipe,name=oootest")) +
             rtl::OUString::valueOf(static_cast< sal_Int64 >(info.Ident));
         rtl::OUString noquickArg(
-            RTL_CONSTASCII_USTRINGPARAM("-quickstart=no"));
+            RTL_CONSTASCII_USTRINGPARAM("--quickstart=no"));
         rtl::OUString nofirstArg(
-            RTL_CONSTASCII_USTRINGPARAM("-nofirststartwizard"));
-        rtl::OUString norestoreArg(RTL_CONSTASCII_USTRINGPARAM("-norestore"));
+            RTL_CONSTASCII_USTRINGPARAM("--nofirststartwizard"));
+        rtl::OUString norestoreArg(RTL_CONSTASCII_USTRINGPARAM("--norestore"));
         //Disable use of the unix standalone splash screen app for the tests
-        rtl::OUString noSplashArg(RTL_CONSTASCII_USTRINGPARAM("-no-oosplash"));
+        rtl::OUString noSplashArg(RTL_CONSTASCII_USTRINGPARAM("--no-oosplash"));
         rtl::OUString acceptArg(
-            rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("-accept=")) + desc +
+            rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("--accept=")) + desc +
             rtl::OUString(RTL_CONSTASCII_USTRINGPARAM(";urp")));
         rtl::OUString argUser;
         CPPUNIT_ASSERT(


More information about the Libreoffice-commits mailing list