[Libreoffice-commits] core.git: desktop/source

Stephan Bergmann sbergman at redhat.com
Mon Nov 28 09:29:43 UTC 2016


 desktop/source/app/cmdlineargs.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f7c40316412e5c2160c89514e7bd0c9f6a2915b3
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Nov 28 10:27:19 2016 +0100

    Revert "Remove extra "=" symbol for "--splash-pipe" argument"
    
    This reverts commit 87a098e3bb72910399473ee0fbe32a70cad9c737:
    
    '--splash-pipe=N' is a "private" command line argument between oosplash
    (desktop/unx/source/start.c) and soffice.bin
    (desktop/source/splash/unxsplash.cxx).  No need to silently accept a bogus
    '--splash-pipe' (without '=' part) provided by the user.

diff --git a/desktop/source/app/cmdlineargs.cxx b/desktop/source/app/cmdlineargs.cxx
index 443a87a..112fa58 100644
--- a/desktop/source/app/cmdlineargs.cxx
+++ b/desktop/source/app/cmdlineargs.cxx
@@ -329,7 +329,7 @@ void CommandLineArgs::ParseCommandLine_Impl( Supplier& supplier )
             {
                 m_version = true;
             }
-            else if ( oArg.startsWith("splash-pipe") )
+            else if ( oArg.startsWith("splash-pipe=") )
             {
                 m_splashpipe = true;
             }


More information about the Libreoffice-commits mailing list