From 04424e8294ff7eff04f362796fb144d4d0ba6b73 Mon Sep 17 00:00:00 2001 From: ehouse Date: Sat, 22 Jan 2005 22:46:27 +0000 Subject: [PATCH] clean up TDesc usage --- symbian/src/symblnk.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/symbian/src/symblnk.cpp b/symbian/src/symblnk.cpp index 9a2c7db64..c44a9ff11 100644 --- a/symbian/src/symblnk.cpp +++ b/symbian/src/symblnk.cpp @@ -47,9 +47,8 @@ CXWBlankSelDlg::PreLayoutDynInitL() TInt i; for ( i = 0; i < iNTiles; ++i ) { - TBuf8<4> buf8( iTexts[i] ); TBuf16<4> buf16; - buf16.Copy( buf8 ); + buf16.Copy( TPtrC8(iTexts[i]) ); facesList->AppendL( buf16 ); } @@ -59,7 +58,7 @@ CXWBlankSelDlg::PreLayoutDynInitL() } TBool -CXWBlankSelDlg::OkToExitL( TInt aKeyCode ) +CXWBlankSelDlg::OkToExitL( TInt /*aKeyCode*/ ) { CEikChoiceList* list = static_cast (Control(ESelBlankChoice)); @@ -67,8 +66,7 @@ CXWBlankSelDlg::OkToExitL( TInt aKeyCode ) return ETrue; } // OkToExitL -/* static */ -void +/* static */ void CXWBlankSelDlg::UsePickTileDialogL( const XP_UCHAR4* texts, TInt aNTiles, TInt* resultP ) {