mmsengine/mmsmessage/src/mmsheaders.cpp
changeset 23 238255e8b033
parent 2 0bf1d54f37d9
child 25 84d9eb65b26f
equal deleted inserted replaced
5:4697dfb2d7ad 23:238255e8b033
   349         iApplicationInfo )
   349         iApplicationInfo )
   350         {
   350         {
   351         stream.AssignLC( aStore, KUidMmsApplicationInfoStream ); // pushes 'stream' to the stack
   351         stream.AssignLC( aStore, KUidMmsApplicationInfoStream ); // pushes 'stream' to the stack
   352         length = ApplicId().Length();
   352         length = ApplicId().Length();
   353         stream.WriteInt32L( length );
   353         stream.WriteInt32L( length );
   354         // Coverty fix, Forward NULL , http://ousrv057/cov.cgi?cid=35556
   354         if ( length > 0 )
   355         if ( length > 0 && iApplicationId )
       
   356             {
   355             {
   357             stream << iApplicationId->Des();
   356             stream << iApplicationId->Des();
   358             }
   357             }
   359         
   358         
   360         length = ReplyApplicId().Length();
   359         length = ReplyApplicId().Length();
   361         stream.WriteInt32L( length );
   360         stream.WriteInt32L( length );
   362         // Coverty fix, Forward NULL , http://ousrv057/cov.cgi?cid=35559
   361         if ( length > 0 )
   363         if ( length > 0 && iReplyToApplicationId )
       
   364             {
   362             {
   365             stream << iReplyToApplicationId->Des();
   363             stream << iReplyToApplicationId->Des();
   366             }
   364             }
   367         
   365         
   368         length = AuxApplicInfo().Length();
   366         length = AuxApplicInfo().Length();
   387         
   385         
   388         stream.WriteInt32L( iRecommendedRetrievalMode );
   386         stream.WriteInt32L( iRecommendedRetrievalMode );
   389 
   387 
   390         length = RecommendedRetrievalModeText().Length();
   388         length = RecommendedRetrievalModeText().Length();
   391         stream.WriteInt32L( length );
   389         stream.WriteInt32L( length );
   392         // Coverty fix, Forward NULL , http://ousrv057/cov.cgi?cid=35557
   390         if ( length > 0 )
   393         if ( length > 0 && iRecommendedRetrievalModeText )
       
   394             {
   391             {
   395             stream << iRecommendedRetrievalModeText->Des();
   392             stream << iRecommendedRetrievalModeText->Des();
   396             }
   393             }
   397             
   394             
   398         length = ReplaceCancelId().Length();
   395         length = ReplaceCancelId().Length();
   399         stream.WriteInt32L( length );
   396         stream.WriteInt32L( length );
   400         // Coverty fix, Forward NULL , http://ousrv057/cov.cgi?cid=35558
   397         if ( length > 0 )
   401         if ( length > 0 && iReplaceCancelId )
       
   402             {
   398             {
   403             stream << iReplaceCancelId->Des();
   399             stream << iReplaceCancelId->Des();
   404             }
   400             }
   405         
   401         
   406         stream.WriteInt32L( iCancelStatus );
   402         stream.WriteInt32L( iCancelStatus );