diff options
author | Andras Timar <atimar@suse.com> | 2012-01-11 19:21:33 +0100 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2012-01-11 19:25:45 +0100 |
commit | aab14cb9fbc7d82b804a89e4cc61fb874c8636c8 (patch) | |
tree | 06076784fd47291174d9d51811da496191ae5cf4 /desktop/source/pkgchk | |
parent | 8a3b584528e30f346cbab34141ee088eea16020c (diff) |
fix prefix of command line switches (-- instead of -)
Diffstat (limited to 'desktop/source/pkgchk')
-rw-r--r-- | desktop/source/pkgchk/unopkg/unopkg_misc.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/desktop/source/pkgchk/unopkg/unopkg_misc.cxx b/desktop/source/pkgchk/unopkg/unopkg_misc.cxx index 68745cad067b..5dba571ad637 100644 --- a/desktop/source/pkgchk/unopkg/unopkg_misc.cxx +++ b/desktop/source/pkgchk/unopkg/unopkg_misc.cxx @@ -402,12 +402,12 @@ Reference<XComponentContext> connectToOffice( bool verbose ) { Sequence<OUString> args( 3 ); - args[ 0 ] = OUSTR("-nologo"); - args[ 1 ] = OUSTR("-nodefault"); + args[ 0 ] = OUSTR("--nologo"); + args[ 1 ] = OUSTR("--nodefault"); OUString pipeId( ::dp_misc::generateRandomPipeId() ); ::rtl::OUStringBuffer buf; - buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("-accept=pipe,name=") ); + buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("--accept=pipe,name=") ); buf.append( pipeId ); buf.appendAscii( RTL_CONSTASCII_STRINGPARAM(";urp;") ); args[ 2 ] = buf.makeStringAndClear(); @@ -418,7 +418,7 @@ Reference<XComponentContext> connectToOffice( dp_misc::writeConsole( OUSTR("Raising process: ") + appURL + - OUSTR("\nArguments: -nologo -nodefault ") + + OUSTR("\nArguments: --nologo --nodefault ") + args[2] + OUSTR("\n")); } @@ -426,7 +426,7 @@ Reference<XComponentContext> connectToOffice( ::dp_misc::raiseProcess( appURL, args ); if (verbose) - dp_misc::writeConsole("Ok. Connecting..."); + dp_misc::writeConsole("OK. Connecting..."); OSL_ASSERT( buf.getLength() == 0 ); buf.appendAscii( RTL_CONSTASCII_STRINGPARAM("uno:pipe,name=") ); @@ -438,7 +438,7 @@ Reference<XComponentContext> connectToOffice( buf.makeStringAndClear(), xLocalComponentContext ), UNO_QUERY_THROW ); if (verbose) - dp_misc::writeConsole("Ok.\n"); + dp_misc::writeConsole("OK.\n"); return xRet; } |