summaryrefslogtreecommitdiff
path: root/desktop/source/app
diff options
context:
space:
mode:
authorVladimir Glazounov <vg@openoffice.org>2008-04-15 09:26:57 +0000
committerVladimir Glazounov <vg@openoffice.org>2008-04-15 09:26:57 +0000
commit3f30749a7ab6cdd328f0e2e29fa0d241099cb3ca (patch)
tree75f4d4340c5164ab0c124ee1cecc9403b4e032d9 /desktop/source/app
parent1fd28832e7006d154198b647178e987f0333c674 (diff)
INTEGRATION: CWS reglater3_DEV300 (1.211.22.3.2); FILE MERGED
2008/04/02 18:17:52 pb 1.211.22.3.2.1: fix: #155679# remove ReminderDate on FirstStart
Diffstat (limited to 'desktop/source/app')
-rw-r--r--desktop/source/app/app.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index ddc7302df55d..4ac1493e56bc 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: app.cxx,v $
- * $Revision: 1.218 $
+ * $Revision: 1.219 $
*
* This file is part of OpenOffice.org.
*
@@ -149,6 +149,7 @@
#include <svtools/apearcfg.hxx>
#include <svtools/misccfg.hxx>
#include <svtools/filter.hxx>
+#include <svtools/regoptions.hxx>
#include "langselect.hxx"
@@ -1559,6 +1560,7 @@ void Desktop::Main()
// First Start Wizard
if ( IsFirstStartWizardNeeded() && !pCmdLineArgs->IsNoFirstStartWizard() )
{
+ ::svt::RegOptions().removeReminder(); // remove patch registration reminder
Reference< XJob > xFirstStartJob( xSMgr->createInstance(
DEFINE_CONST_UNICODE( "com.sun.star.comp.desktop.FirstStart" ) ), UNO_QUERY );
if (xFirstStartJob.is())
@@ -1571,7 +1573,8 @@ void Desktop::Main()
lArgs[1].Value <<= GetLicensePath();
xFirstStartJob->execute(lArgs) >>= bDone;
- if (!bDone) {
+ if ( !bDone )
+ {
return;
}
}