You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ar...@apache.org on 2012/08/10 13:41:31 UTC

svn commit: r1371665 - /incubator/ooo/trunk/main/desktop/source/app/app.cxx

Author: arielch
Date: Fri Aug 10 11:41:31 2012
New Revision: 1371665

URL: http://svn.apache.org/viewvc?rev=1371665&view=rev
Log:
#i120501# - Do not show the StartCenter when the office is executed with -nodefault

Modified:
    incubator/ooo/trunk/main/desktop/source/app/app.cxx

Modified: incubator/ooo/trunk/main/desktop/source/app/app.cxx
URL: http://svn.apache.org/viewvc/incubator/ooo/trunk/main/desktop/source/app/app.cxx?rev=1371665&r1=1371664&r2=1371665&view=diff
==============================================================================
--- incubator/ooo/trunk/main/desktop/source/app/app.cxx (original)
+++ incubator/ooo/trunk/main/desktop/source/app/app.cxx Fri Aug 10 11:41:31 2012
@@ -2054,7 +2054,11 @@ void Desktop::Main()
 
         if ( !pExecGlobals->bRestartRequested )
         {
-            if ((!pCmdLineArgs->WantsToLoadDocument() && !pCmdLineArgs->IsInvisible() && !pCmdLineArgs->IsHeadless() && !pCmdLineArgs->IsQuickstart()) &&
+            if ((!pCmdLineArgs->IsNoDefault() &&
+                 !pCmdLineArgs->WantsToLoadDocument() &&
+                 !pCmdLineArgs->IsInvisible() &&
+                 !pCmdLineArgs->IsHeadless() &&
+                 !pCmdLineArgs->IsQuickstart()) &&
                 (SvtModuleOptions().IsModuleInstalled(SvtModuleOptions::E_SSTARTMODULE)) &&
                 (!bExistsRecoveryData                                                  ) &&
                 (!bExistsSessionData                                                   ) &&