summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2010-11-25 09:38:16 +0000
committerCaolán McNamara <caolanm@redhat.com>2010-11-25 09:38:16 +0000
commiteab21a84137e010ae46b0b77c44c80d377964071 (patch)
treea02afe9ee911b07d2bfac7b2d60ade136130f921
parent9842b0d79b0d232d3ea7589f106d1a23d4e1435c (diff)
Only start the quick-starter on restart, don't install it forever
-rw-r--r--desktop/source/app/appfirststart.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/desktop/source/app/appfirststart.cxx b/desktop/source/app/appfirststart.cxx
index 9ef0a8a6fd..b1af02c0a0 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 );