mpx/collectionframework/collectionengine/src/mpxcollectioncache.cpp
changeset 3 b425f12f328d
parent 0 a2952bb97e68
child 48 b7b49303d0c0
--- a/mpx/collectionframework/collectionengine/src/mpxcollectioncache.cpp	Mon Jan 18 20:36:37 2010 +0200
+++ b/mpx/collectionframework/collectionengine/src/mpxcollectioncache.cpp	Tue Jan 26 12:18:42 2010 +0200
@@ -809,7 +809,10 @@
     CleanupStack::PushL( buffer );
     TPtr8 ptr8 = buffer->Ptr(0);
     TPtrC ptr = MPXUser::Ptr( ptr8 );
-    iResults->SetTextValueL( KMPXCollectionOpenLAllResultRange, ptr );
+    if(iResults)
+    	{
+    	iResults->SetTextValueL( KMPXCollectionOpenLAllResultRange, ptr );
+  		}
     CleanupStack::PopAndDestroy( buffer );
     
     CleanupStack::PopAndDestroy( &datablocks );