webservices/wsoviplugin/src/wsovihandlercontext.cpp
changeset 28 0802db42e4e9
parent 0 62f9d29f7211
equal deleted inserted replaced
2:150a13bad6af 28:0802db42e4e9
   151     }
   151     }
   152 TInt CWSOviHandlerContext::Add(const TDesC8& aKey, TAny* aValue)
   152 TInt CWSOviHandlerContext::Add(const TDesC8& aKey, TAny* aValue)
   153     {
   153     {
   154     if (aKey == HandlerContextKey::KSIF())
   154     if (aKey == HandlerContextKey::KSIF())
   155         {
   155         {
   156         iWSOviPlugin = (CWSOviPlugin*)aValue;
   156         if(aValue)
       
   157         	{
       
   158         	iWSOviPlugin = (CWSOviPlugin*)aValue;
       
   159         	}
   157         return KErrNone;
   160         return KErrNone;
   158         }
   161         }
   159     else if (aKey == HandlerContextKey::KLogger())
   162     else if (aKey == HandlerContextKey::KLogger())
   160         {
   163         {
   161         iLogger = (RFileLogger*)aValue;
   164         iLogger = (RFileLogger*)aValue;