summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorAndras Timar <atimar@suse.com>2012-01-11 19:21:33 +0100
committerAndras Timar <atimar@suse.com>2012-01-11 19:25:45 +0100
commitaab14cb9fbc7d82b804a89e4cc61fb874c8636c8 (patch)
tree06076784fd47291174d9d51811da496191ae5cf4 /extensions
parent8a3b584528e30f346cbab34141ee088eea16020c (diff)
fix prefix of command line switches (-- instead of -)
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/nsplugin/source/so_main.cxx8
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 127bedf70a76..6bf83d972543 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,
};