diff -r 6f5ef5fc65b4 -r c5fabff9b552 webservices/wsdescription/src/servicepolicy.cpp --- a/webservices/wsdescription/src/servicepolicy.cpp Thu Aug 19 10:59:30 2010 +0300 +++ b/webservices/wsdescription/src/servicepolicy.cpp Tue Aug 31 16:18:26 2010 +0300 @@ -15,6 +15,13 @@ * */ + + + + + + + // INCLUDE FILES #include #include @@ -371,10 +378,10 @@ } } + } } - void CServicePolicy::AddUserAgentElementsL(CSenElement* aUserAgentElement) { CSenElement* pClientPolicyElement = AsElement().Element(KClientServicePolicyLocalName); @@ -580,6 +587,7 @@ } else //Just add this policy in the { + CSenElement& apol= pPolicyArray->AddElementL(KPolicyLocalName); apol.CopyFromL(*aPolicy); PolicyIdL(&apol); //codescannerwarnings @@ -779,8 +787,6 @@ return EFalse; } - return EFalse; - } HBufC8* CServicePolicy::ClientPolicyValue(const TDesC8& aKey) {