equal
deleted
inserted
replaced
187 TBool directionSet = EFalse; |
187 TBool directionSet = EFalse; |
188 TBool currentStateSet = EFalse; |
188 TBool currentStateSet = EFalse; |
189 |
189 |
190 |
190 |
191 LBTCONTEXTSOURCEPLUGINDEBUG( "CLBTContextSourcePlugin::ParseTriggerInformationL : IN " ); |
191 LBTCONTEXTSOURCEPLUGINDEBUG( "CLBTContextSourcePlugin::ParseTriggerInformationL : IN " ); |
192 const RSettingParameterArray& parameters |
192 |
193 = aItem.Parameters(); |
|
194 |
|
195 // Add check for improper syntax of XML file |
193 // Add check for improper syntax of XML file |
196 if ( aItem.Name() != KTriggerLocation ) |
194 if ( aItem.Name() != KTriggerLocation ) |
197 { |
195 { |
198 User::Leave( KErrGeneral ); |
196 User::Leave( KErrGeneral ); |
199 } |
197 } |
531 // leave with KErrNotSupported |
529 // leave with KErrNotSupported |
532 for ( TInt i = 0; i < aSettingList.Count(); i++ ) |
530 for ( TInt i = 0; i < aSettingList.Count(); i++ ) |
533 { |
531 { |
534 const CCFContextSourceSetting& item = aSettingList.Item( i ); |
532 const CCFContextSourceSetting& item = aSettingList.Item( i ); |
535 |
533 |
536 const RSettingParameterArray& parameters |
|
537 = item.Parameters(); |
|
538 |
|
539 // Add check for improper syntax of XML file |
534 // Add check for improper syntax of XML file |
540 if ( item.Name() != KTriggerLocation ) |
535 if ( item.Name() != KTriggerLocation ) |
541 { |
536 { |
542 validFile = EFalse; |
537 validFile = EFalse; |
543 } |
538 } |