contextengine/plugins/locationplugin/src/locationcontextplugin.cpp
branchRCL_3
changeset 17 50de4d668bb6
parent 14 646a02f170b9
child 51 87e65c44ff3a
--- a/contextengine/plugins/locationplugin/src/locationcontextplugin.cpp	Mon Mar 15 12:42:24 2010 +0200
+++ b/contextengine/plugins/locationplugin/src/locationcontextplugin.cpp	Wed Mar 31 22:19:07 2010 +0300
@@ -235,7 +235,6 @@
 	        	{
 	        	ret = KErrNone;
 	        	}
-
     		}
         }
 
@@ -255,6 +254,7 @@
 void CLocationContextPlugin::GetMdeObjectCreationTimeL( CMdEObject& aObject, 
 	CMdEProperty*& aProperty )
     {
+    User::LeaveIfNull( iMdeSession );
     CMdENamespaceDef& namespaceDef = iMdeSession->GetDefaultNamespaceDefL();
 
     CMdEObjectDef& objectDef = namespaceDef.GetObjectDefL( Object::KBaseObject );