diff options
author | Caolán McNamara <caolanm@redhat.com> | 2010-11-25 09:38:16 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2010-11-25 09:38:16 +0000 |
commit | 4b3d53ce72821ac713c2367e6eee34294e112d98 (patch) | |
tree | a2b6fe03444bbe3ec3a1247108c098865828dcfc | |
parent | 1529913c92ccf5b0eff67f08e0e884a2382f2dc8 (diff) |
Only start the quick-starter on restart, don't install it forever
-rw-r--r-- | desktop/source/app/appfirststart.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop/source/app/appfirststart.cxx b/desktop/source/app/appfirststart.cxx index 53ae517adc3a..558e32392f7f 100644 --- a/desktop/source/app/appfirststart.cxx +++ b/desktop/source/app/appfirststart.cxx @@ -285,9 +285,8 @@ void Desktop::DoRestartActionsIfNecessary( sal_Bool bQuickStart ) xPSet->setPropertyValue( sPropName, makeAny( sal_False ) ); Reference< util::XChangesBatch >( xPSet, UNO_QUERY_THROW )->commitChanges(); - Sequence< Any > aSeq( 2 ); + Sequence< Any > aSeq( 1 ); aSeq[0] <<= sal_True; - aSeq[1] <<= sal_True; Reference < XInitialization > xQuickstart( ::comphelper::getProcessServiceFactory()->createInstance( OUString( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.office.Quickstart" ) ) ),UNO_QUERY_THROW ); |