diff options
author | Ivo Hinkelmann <ihi@openoffice.org> | 2006-08-04 10:12:53 +0000 |
---|---|---|
committer | Ivo Hinkelmann <ihi@openoffice.org> | 2006-08-04 10:12:53 +0000 |
commit | 8e53cb92bcafa9e4fa9f2c15d2fc2946e0d9a22a (patch) | |
tree | ebb5bc5fee44866a091562734e1caf602d079486 /desktop | |
parent | 6b6c0e8853f8e81fd5f912b7ae784eea9a899ba6 (diff) |
INTEGRATION: CWS pb17 (1.192.50); FILE MERGED
2006/07/28 10:56:07 as 1.192.50.2: RESYNC: (1.192-1.193); FILE MERGED
2006/07/26 07:29:20 as 1.192.50.1: #i64615# supress FirstStartWizard if it's requested via command line
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/app/app.cxx | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx index fde6fbe2647b..f3dd52848834 100644 --- a/desktop/source/app/app.cxx +++ b/desktop/source/app/app.cxx @@ -4,9 +4,9 @@ * * $RCSfile: app.cxx,v $ * - * $Revision: 1.194 $ + * $Revision: 1.195 $ * - * last change: $Author: ihi $ $Date: 2006-08-01 11:19:53 $ + * last change: $Author: ihi $ $Date: 2006-08-04 11:12:53 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -1573,12 +1573,19 @@ void Desktop::Main() // First Start Wizard { + sal_Bool bWidthUI = sal_True; + if (pCmdLineArgs->IsNoFirstStartWizard()) + bWidthUI = sal_False; + Reference< XJob > xFirstStartJob( xSMgr->createInstance( DEFINE_CONST_UNICODE( "com.sun.star.comp.desktop.FirstStart" ) ), UNO_QUERY ); if (xFirstStartJob.is()) { sal_Bool bDone = sal_False; - xFirstStartJob->execute(Sequence<NamedValue>()) >>= bDone; + Sequence< NamedValue > lArgs(1); + lArgs[0].Name = ::rtl::OUString::createFromAscii("WidthUI"); + lArgs[0].Value <<= bWidthUI; + xFirstStartJob->execute(lArgs) >>= bDone; if (!bDone) { return; } |