landmarks/locationlandmarks/converter/src/EPos_CPosLmLmxParser.cpp
changeset 18 3825cf2dc8c2
parent 0 667063e416a2
equal deleted inserted replaced
1:788b770ce3ae 18:3825cf2dc8c2
   232         case EPosXmlCategoryName:
   232         case EPosXmlCategoryName:
   233             PosLmConverterUtils::AssertL(aContent.Length() > 0);
   233             PosLmConverterUtils::AssertL(aContent.Length() > 0);
   234             PosLmConverterUtils::AssertL( iWorkingCategory != NULL );
   234             PosLmConverterUtils::AssertL( iWorkingCategory != NULL );
   235             iWorkingCategory->SetCategoryNameL( aContent.Left( KPosLmMaxCategoryNameLength ) );
   235             iWorkingCategory->SetCategoryNameL( aContent.Left( KPosLmMaxCategoryNameLength ) );
   236             break;
   236             break;
       
   237             //coverity[unterminated_case :FALSE]
   237         case EPosXmlAddrPlaceId: //addition for Place id
   238         case EPosXmlAddrPlaceId: //addition for Place id
   238             PosLmConverterUtils::AssertL( iWorkingLandmark != NULL );
   239             PosLmConverterUtils::AssertL( iWorkingLandmark != NULL );
   239             iWorkingLandmark->SetPlaceIdL( aContent.Left( KPosLmMaxTextFieldLength ) );
   240             iWorkingLandmark->SetPlaceIdL( aContent.Left( KPosLmMaxTextFieldLength ) );
       
   241             //coverity[fallthrough : FALSE]
   240         default:
   242         default:
   241             // We need to check if it is a addressInfo tag.
   243             // We need to check if it is a addressInfo tag.
   242             // AddressInfo Tag
   244             // AddressInfo Tag
   243             TPositionFieldId fieldId = PositionFieldId( aTag );
   245             TPositionFieldId fieldId = PositionFieldId( aTag );
   244             if (fieldId != EPositionFieldNone)
   246             if (fieldId != EPositionFieldNone)