summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--desktop/source/app/app.cxx21
1 files changed, 9 insertions, 12 deletions
diff --git a/desktop/source/app/app.cxx b/desktop/source/app/app.cxx
index 5098b830b4e5..d540980bab2c 100644
--- a/desktop/source/app/app.cxx
+++ b/desktop/source/app/app.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: app.cxx,v $
*
- * $Revision: 1.98 $
+ * $Revision: 1.99 $
*
- * last change: $Author: lo $ $Date: 2002-10-22 15:13:59 $
+ * last change: $Author: lo $ $Date: 2002-10-23 09:24:59 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1310,17 +1310,14 @@ void Desktop::Main()
ResMgr::SetReadStringHook( ReplaceStringHookProc );
SetAppName( DEFINE_CONST_UNICODE("soffice") );
- if ( !pCmdLineArgs->IsInvisible() )
- {
- // check user installation directory for lockfile so we can be sure
- // there is no other instance using our data files from a remote host
- Lockfile aLock;
- if (!aLock.check()) {
- // Lockfile exists, and user clicked 'no'
- return;
- }
- // lockfile will be removed in Lockfile d'tor
+ // check user installation directory for lockfile so we can be sure
+ // there is no other instance using our data files from a remote host
+ Lockfile aLock;
+ if (!pCmdLineArgs->IsInvisible() && !aLock.check() ) {
+ // Lockfile exists, and user clicked 'no'
+ return;
}
+ // lockfile will be removed in Lockfile d'tor
com::sun::star::uno::ContextLayer layer( com::sun::star::uno::getCurrentContext() );