summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorAndras Timar <atimar@suse.com>2011-12-04 13:16:28 +0100
committerAndras Timar <atimar@suse.com>2011-12-04 13:28:13 +0100
commitbca4eb7a1b37c053c97c5d8c267d07187ccce3a7 (patch)
treed4d6a957921da0b04866a8e5e426ae9288f7fed5 /desktop
parentd952f91d1b37cab3f634aa29a5ee84f96d4f47bd (diff)
-quickstart -> --quickstart, etc.
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/app/app.cxx2
-rw-r--r--desktop/win32/source/QuickStart/QuickStart.cxx7
2 files changed, 4 insertions, 5 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index 78fb7ab1f74a..1c5a66ad9239 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -2058,7 +2058,7 @@ sal_Bool Desktop::InitializeQuickstartMode( Reference< XMultiServiceFactory >& r
{
// the shutdown icon sits in the systray and allows the user to keep
// the office instance running for quicker restart
- // this will only be activated if -quickstart was specified on cmdline
+ // this will only be activated if --quickstart was specified on cmdline
RTL_LOGFILE_CONTEXT( aLog, "desktop (cd100003) createInstance com.sun.star.office.Quickstart" );
sal_Bool bQuickstart = shouldLaunchQuickstart();
diff --git a/desktop/win32/source/QuickStart/QuickStart.cxx b/desktop/win32/source/QuickStart/QuickStart.cxx
index 242ca28842af..26276ba71ee4 100644
--- a/desktop/win32/source/QuickStart/QuickStart.cxx
+++ b/desktop/win32/source/QuickStart/QuickStart.cxx
@@ -48,7 +48,6 @@ bool launchSoffice( )
{
if ( !SofficeRuns() )
{
- // UINT ret = WinExec( "h:\\office60.630b\\program\\swriter.exe -bean", SW_SHOW );
char filename[_MAX_PATH + 1];
filename[_MAX_PATH] = 0;
@@ -62,7 +61,7 @@ bool launchSoffice( )
char imagename[_MAX_PATH + 1];
imagename[_MAX_PATH] = 0;
- _snprintf(imagename, _MAX_PATH, "\"%s\" -quickstart", filename );
+ _snprintf(imagename, _MAX_PATH, "\"%s\" --quickstart", filename );
UINT ret = WinExec( imagename, SW_SHOW );
if ( ret < 32 )
@@ -124,11 +123,11 @@ int APIENTRY WinMain(HINSTANCE /*hInstance*/,
LPSTR /*lpCmdLine*/,
int /*nCmdShow*/)
{
- // Look for -killtray argument
+ // Look for --killtray argument
for ( int i = 1; i < __argc; i++ )
{
- if ( 0 == strcmp( __argv[i], "-killtray" ) )
+ if ( 0 == strcmp( __argv[i], "--killtray" ) )
{
HWND hwndTray = FindWindow( LISTENER_WINDOWCLASS, NULL );