commonappservices/alarmserver/Server/Source/ASSrvAlarmQueue.cpp
changeset 65 8a530a83576a
parent 0 2e3d3ce01487
child 63 c2c61fdca848
--- a/commonappservices/alarmserver/Server/Source/ASSrvAlarmQueue.cpp	Wed Aug 18 09:58:19 2010 +0300
+++ b/commonappservices/alarmserver/Server/Source/ASSrvAlarmQueue.cpp	Thu Sep 02 20:36:53 2010 +0300
@@ -96,7 +96,7 @@
 	iASSrvDSTChange = CASSrvDSTChange::NewL(*this);
 
 #ifdef SYMBIAN_SYSTEM_STATE_MANAGEMENT
-	iSsmRtcAdaptation.Connect();
+	User::LeaveIfError(iSsmRtcAdaptation.Connect());
 	// Notify the listeners of 'KWakeupAlarmPubSubKey' key that the alarm queue is yet  to be internalized 
 	// by Alarm Server on its start-up at the device boot time.
 	RProperty::Define(KAlarmServerPubSubCategory, KWakeupAlarmPubSubKey, RProperty::EInt, KReadPolicy, KWritePolicy);