summaryrefslogtreecommitdiffstats
path: root/editors/openoffice.org-3-devel/patch-desktop+source+app+app.cxx
blob: 4e82d5277384adb718101e2cab8d2df46a25c25b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- ../desktop/source/app/app.cxx.orig	Sun Mar 30 22:26:15 2003
+++ ../desktop/source/app/app.cxx	Sun Mar 30 22:27:02 2003
@@ -587,7 +587,8 @@
     ::comphelper::setProcessServiceFactory( NULL );
 
 	// clear lockfile
-	m_pLockfile->clean();
+	if (m_pLockfile != NULL)
+		m_pLockfile->clean();
 
     if( !Application::IsRemoteServer() )
 	{
@@ -621,7 +622,8 @@
 		a <<= (sal_Bool)sal_False;
 		xPropertySet->setPropertyValue( OUSTRING(RTL_CONSTASCII_USTRINGPARAM( SUSPEND_QUICKSTARTVETO )), a );
 	} else {
-        m_pLockfile->clean();
+		if (m_pLockfile != NULL)
+			m_pLockfile->clean();
 	}
 
     return bExit;
OpenPOWER on IntegriCloud