[Libreoffice-commits] .: desktop/source

Caolán McNamara caolan at kemper.freedesktop.org
Thu Nov 25 01:39:02 PST 2010


 desktop/source/app/appfirststart.cxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit eab21a84137e010ae46b0b77c44c80d377964071
Author: Caolán McNamara <caolanm at redhat.com>
Date:   Thu Nov 25 09:38:16 2010 +0000

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

diff --git a/desktop/source/app/appfirststart.cxx b/desktop/source/app/appfirststart.cxx
index 9ef0a8a..b1af02c 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 );


More information about the Libreoffice-commits mailing list