equal
deleted
inserted
replaced
61 _LIT( KMemSpyItemValueError, "Error: %d" ); |
61 _LIT( KMemSpyItemValueError, "Error: %d" ); |
62 aBuf.Format( KMemSpyItemValueError, aError ); |
62 aBuf.Format( KMemSpyItemValueError, aError ); |
63 } |
63 } |
64 } |
64 } |
65 |
65 |
66 HBufC* MemSpyUiUtils::FormatItem( const TDesC& aCaption ) |
66 HBufC* MemSpyUiUtils::FormatItemLC( const TDesC& aCaption ) |
67 { |
67 { |
68 HBufC* retBuf = HBufC::NewL( 32 ); |
68 HBufC* retBuf = HBufC::NewLC( 32 ); |
69 TPtr pRetBuf( retBuf->Des() ); |
69 TPtr pRetBuf( retBuf->Des() ); |
70 pRetBuf.Zero(); |
70 pRetBuf.Zero(); |
71 pRetBuf.Append( _L("\t") ); |
71 pRetBuf.Append( _L("\t") ); |
72 pRetBuf.Append( aCaption ); |
72 pRetBuf.Append( aCaption ); |
73 return retBuf; |
73 return retBuf; |