equal
deleted
inserted
replaced
534 { |
534 { |
535 __FLOG(_L8("SetObjectPropertyL - Entry")); |
535 __FLOG(_L8("SetObjectPropertyL - Entry")); |
536 TMTPResponseCode responseCode = CheckGenObjectPropertyL(aElement, aOperationCode); |
536 TMTPResponseCode responseCode = CheckGenObjectPropertyL(aElement, aOperationCode); |
537 if (responseCode == EMTPRespCodeOK) |
537 if (responseCode == EMTPRespCodeOK) |
538 { |
538 { |
539 TInt ret = KErrNone; |
|
540 TUint16 propertyCode(aElement.Uint16L(CMTPTypeObjectPropListElement::EPropertyCode)); |
539 TUint16 propertyCode(aElement.Uint16L(CMTPTypeObjectPropListElement::EPropertyCode)); |
541 switch (propertyCode) |
540 switch (propertyCode) |
542 { |
541 { |
543 case EMTPGenObjPropCodeObjectSize: |
542 case EMTPGenObjPropCodeObjectSize: |
544 { |
543 { |
566 } |
565 } |
567 |
566 |
568 default: |
567 default: |
569 responseCode = EMTPRespCodeObjectPropNotSupported; |
568 responseCode = EMTPRespCodeObjectPropNotSupported; |
570 break; |
569 break; |
571 } |
|
572 if (KErrNone != ret) |
|
573 { |
|
574 responseCode = EMTPRespCodeGeneralError; |
|
575 } |
570 } |
576 } |
571 } |
577 __FLOG(_L8("SetObjectPropertyL - Exit")); |
572 __FLOG(_L8("SetObjectPropertyL - Exit")); |
578 return responseCode; |
573 return responseCode; |
579 } |
574 } |