emailservices/emailstore/message_store/debuglog/src/DebugLog.cpp
changeset 74 6c59112cfd31
parent 68 83cc6bae1de8
child 76 38bf5461e270
equal deleted inserted replaced
69:4e54af54a4a1 74:6c59112cfd31
   400 // ==========================================================================
   400 // ==========================================================================
   401 EXPORT_C void RDebugLog::WriteFormat( const TDesC8& aFuncName8, 
   401 EXPORT_C void RDebugLog::WriteFormat( const TDesC8& aFuncName8, 
   402                                       TRefByValue< const TDesC16 > aFmt, 
   402                                       TRefByValue< const TDesC16 > aFmt, 
   403                                       ... ) const
   403                                       ... ) const
   404     {
   404     {
   405 	VA_LIST list; // coverity[UNINIT]
   405     // coverity[UNINIT]
       
   406 	VA_LIST list; 
   406 	VA_START(list,aFmt);
   407 	VA_START(list,aFmt);
   407 
   408 
   408 	RDebugLog* self = const_cast<RDebugLog*>(this);
   409 	RDebugLog* self = const_cast<RDebugLog*>(this);
   409 
   410 
   410     if( self->PrepareForWrite() )
   411     if( self->PrepareForWrite() )
   443 // ==========================================================================
   444 // ==========================================================================
   444 EXPORT_C void RDebugLog::WriteFormat( const TDesC8& aFuncName8, 
   445 EXPORT_C void RDebugLog::WriteFormat( const TDesC8& aFuncName8, 
   445                                       TRefByValue< const TDesC8 > aFmt, 
   446                                       TRefByValue< const TDesC8 > aFmt, 
   446                                       ... ) const
   447                                       ... ) const
   447     {
   448     {
   448 	VA_LIST list; // coverity[UNINIT]
   449     // coverity[UNINIT]
       
   450 	VA_LIST list; 
   449 	VA_START(list,aFmt);
   451 	VA_START(list,aFmt);
   450 
   452 
   451 	RDebugLog* self = const_cast<RDebugLog*>(this);
   453 	RDebugLog* self = const_cast<RDebugLog*>(this);
   452 
   454 
   453     if( self->PrepareForWrite() )
   455     if( self->PrepareForWrite() )