mmsengine/mmsmessage/src/mmsheaders.cpp
changeset 2 0bf1d54f37d9
parent 0 72b543305e3a
child 26 ebe688cedc25
equal deleted inserted replaced
1:d09ac5c1e252 2:0bf1d54f37d9
   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         if ( length > 0 )
   354         // Coverty fix, Forward NULL , http://ousrv057/cov.cgi?cid=35556
       
   355         if ( length > 0 && iApplicationId )
   355             {
   356             {
   356             stream << iApplicationId->Des();
   357             stream << iApplicationId->Des();
   357             }
   358             }
   358         
   359         
   359         length = ReplyApplicId().Length();
   360         length = ReplyApplicId().Length();
   360         stream.WriteInt32L( length );
   361         stream.WriteInt32L( length );
   361         if ( length > 0 )
   362         // Coverty fix, Forward NULL , http://ousrv057/cov.cgi?cid=35559
       
   363         if ( length > 0 && iReplyToApplicationId )
   362             {
   364             {
   363             stream << iReplyToApplicationId->Des();
   365             stream << iReplyToApplicationId->Des();
   364             }
   366             }
   365         
   367         
   366         length = AuxApplicInfo().Length();
   368         length = AuxApplicInfo().Length();
   385         
   387         
   386         stream.WriteInt32L( iRecommendedRetrievalMode );
   388         stream.WriteInt32L( iRecommendedRetrievalMode );
   387 
   389 
   388         length = RecommendedRetrievalModeText().Length();
   390         length = RecommendedRetrievalModeText().Length();
   389         stream.WriteInt32L( length );
   391         stream.WriteInt32L( length );
   390         if ( length > 0 )
   392         // Coverty fix, Forward NULL , http://ousrv057/cov.cgi?cid=35557
       
   393         if ( length > 0 && iRecommendedRetrievalModeText )
   391             {
   394             {
   392             stream << iRecommendedRetrievalModeText->Des();
   395             stream << iRecommendedRetrievalModeText->Des();
   393             }
   396             }
   394             
   397             
   395         length = ReplaceCancelId().Length();
   398         length = ReplaceCancelId().Length();
   396         stream.WriteInt32L( length );
   399         stream.WriteInt32L( length );
   397         if ( length > 0 )
   400         // Coverty fix, Forward NULL , http://ousrv057/cov.cgi?cid=35558
       
   401         if ( length > 0 && iReplaceCancelId )
   398             {
   402             {
   399             stream << iReplaceCancelId->Des();
   403             stream << iReplaceCancelId->Des();
   400             }
   404             }
   401         
   405         
   402         stream.WriteInt32L( iCancelStatus );
   406         stream.WriteInt32L( iCancelStatus );