diff options
author | Andras Timar <atimar@suse.com> | 2012-01-11 19:21:33 +0100 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2012-01-12 00:10:15 +0100 |
commit | c36fb812f806105901b0f5d1bd0315bcc5022812 (patch) | |
tree | d51c20ed1c9ebe1f99651a266988a1bf67a3dfd8 /extensions | |
parent | 673abdd398c5b7ae843a652c5f4342fd3876e761 (diff) |
fix prefix of command line switches (-- instead of -) fdo#40991
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/source/nsplugin/source/so_main.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/extensions/source/nsplugin/source/so_main.cxx b/extensions/source/nsplugin/source/so_main.cxx index c450874191ce..47d262ad08fd 100644 --- a/extensions/source/nsplugin/source/so_main.cxx +++ b/extensions/source/nsplugin/source/so_main.cxx @@ -314,16 +314,16 @@ Reference< lang::XMultiServiceFactory > SAL_CALL start_office(NSP_PIPE_FD read_f // accept string OSL_ASSERT( buf.getLength() == 0 ); - buf.appendAscii( RTL_CONSTASCII_STRINGPARAM( "-accept=pipe,name=" ) ); + buf.appendAscii( RTL_CONSTASCII_STRINGPARAM( "--accept=pipe,name=" ) ); buf.append( aPluginPipeName ); //user installation path as pipe name buf.appendAscii( RTL_CONSTASCII_STRINGPARAM( ";urp;" ) ); OUString sConnectStartString( buf.makeStringAndClear() ); // arguments OUString args [] = { - OUSTR( "-nologo" ), - OUSTR( "-nodefault" ), - OUSTR( "-nolockcheck" ), + OUSTR( "--nologo" ), + OUSTR( "--nodefault" ), + OUSTR( "--nolockcheck" ), sConnectStartString, }; |