mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-09 05:24:44 +01:00
clean up TDesc usage
This commit is contained in:
parent
29e42189ff
commit
04424e8294
1 changed files with 3 additions and 5 deletions
|
@ -47,9 +47,8 @@ CXWBlankSelDlg::PreLayoutDynInitL()
|
||||||
|
|
||||||
TInt i;
|
TInt i;
|
||||||
for ( i = 0; i < iNTiles; ++i ) {
|
for ( i = 0; i < iNTiles; ++i ) {
|
||||||
TBuf8<4> buf8( iTexts[i] );
|
|
||||||
TBuf16<4> buf16;
|
TBuf16<4> buf16;
|
||||||
buf16.Copy( buf8 );
|
buf16.Copy( TPtrC8(iTexts[i]) );
|
||||||
facesList->AppendL( buf16 );
|
facesList->AppendL( buf16 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -59,7 +58,7 @@ CXWBlankSelDlg::PreLayoutDynInitL()
|
||||||
}
|
}
|
||||||
|
|
||||||
TBool
|
TBool
|
||||||
CXWBlankSelDlg::OkToExitL( TInt aKeyCode )
|
CXWBlankSelDlg::OkToExitL( TInt /*aKeyCode*/ )
|
||||||
{
|
{
|
||||||
CEikChoiceList* list = static_cast<CEikChoiceList*>
|
CEikChoiceList* list = static_cast<CEikChoiceList*>
|
||||||
(Control(ESelBlankChoice));
|
(Control(ESelBlankChoice));
|
||||||
|
@ -67,8 +66,7 @@ CXWBlankSelDlg::OkToExitL( TInt aKeyCode )
|
||||||
return ETrue;
|
return ETrue;
|
||||||
} // OkToExitL
|
} // OkToExitL
|
||||||
|
|
||||||
/* static */
|
/* static */ void
|
||||||
void
|
|
||||||
CXWBlankSelDlg::UsePickTileDialogL( const XP_UCHAR4* texts, TInt aNTiles,
|
CXWBlankSelDlg::UsePickTileDialogL( const XP_UCHAR4* texts, TInt aNTiles,
|
||||||
TInt* resultP )
|
TInt* resultP )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue