[Libreoffice-commits] .: test/source

Bjoern Michaelsen bmichaelsen at kemper.freedesktop.org
Wed Mar 30 01:29:05 PDT 2011


 test/source/java/org/openoffice/test/OfficeConnection.java |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 01b86789db30a88b6289c7a9ddaab1f0d0282b3e
Author: Bjoern Michaelsen <bjoern.michaelsen at canonical.com>
Date:   Wed Mar 30 10:28:57 2011 +0200

    using --headless, now that it works

diff --git a/test/source/java/org/openoffice/test/OfficeConnection.java b/test/source/java/org/openoffice/test/OfficeConnection.java
index a7231fc..6aa164a 100644
--- a/test/source/java/org/openoffice/test/OfficeConnection.java
+++ b/test/source/java/org/openoffice/test/OfficeConnection.java
@@ -56,8 +56,7 @@ public final class OfficeConnection {
             String headless_flags = "";
             try {
                 if(Argument.get("headless").length() > 0) {
-                    // meh, we warn about -headless being replaced by --headless, but that does not actually work
-                    headless_flags = "-headless";
+                    headless_flags = "--headless";
                 }
             } catch(Exception e) {}
             description = "pipe,name=oootest" + UUID.randomUUID();


More information about the Libreoffice-commits mailing list