--- 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 );