Only start the quick-starter on restart, don't install it forever

This commit is contained in:
Caolán McNamara 2010-11-25 09:38:16 +00:00
parent 1529913c92
commit 4b3d53ce72

View file

@ -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 );