pimappservices/calendar/client/src/calcalendarinfoimpl.cpp
branchRCL_3
changeset 12 38571fd2a704
parent 0 f979ecb2b13e
--- a/pimappservices/calendar/client/src/calcalendarinfoimpl.cpp	Fri Feb 19 22:49:53 2010 +0200
+++ b/pimappservices/calendar/client/src/calcalendarinfoimpl.cpp	Fri Mar 12 15:42:35 2010 +0200
@@ -69,9 +69,9 @@
         {
         if (iProperties[position]->Value().Compare(KNullDesC8) == 0)
             {
-            __ASSERT_DEBUG(iProperties[position]->StreamId() != KNullStreamId, CalUtils::Panic(ECalendarInfoNullStreamId));
+            __ASSERT_DEBUG(iFileName && iProperties[position]->StreamId() != KNullStreamId, CalUtils::Panic(ECalendarInfoNullStreamId));
             // Get the property
-            HBufC8* value = iSessionImpl->Server().GetPropertyValueL(iSessionImpl->FileName(), iProperties[position]->StreamId());
+            HBufC8* value = iSessionImpl->Server().GetPropertyValueL(iFileName->Des(), iProperties[position]->StreamId());
             iProperties[position]->SetValue(value);
             }
         else if (iProperties[position]->State() == CAgnCalendarInfoProperty::EDeleted)