log name of dict unable to open

This commit is contained in:
ehouse 2005-02-25 04:18:50 +00:00
parent 53a91b579a
commit 45837f0a1c

View file

@ -120,7 +120,6 @@ symMakeBitmap( SymDictCtxt* /*ctxt*/, RFile* file )
XP_U8 nRows = readXP_U8( file ); XP_U8 nRows = readXP_U8( file );
XP_U8 srcByte = 0; XP_U8 srcByte = 0;
XP_U8 nBits; XP_U8 nBits;
XP_U16 i;
bitmap = new (ELeave) CFbsBitmap(); bitmap = new (ELeave) CFbsBitmap();
bitmap->Create( TSize(nCols, nRows), dispMode ); bitmap->Create( TSize(nCols, nRows), dispMode );
@ -253,7 +252,12 @@ sym_dictionary_makeL( MPFORMAL const XP_UCHAR* aDictName )
CleanupClosePushL(fileSession); CleanupClosePushL(fileSession);
RFile file; RFile file;
User::LeaveIfError( file.Open( fileSession, nameD, EFileRead ) ); TInt err = file.Open( fileSession, nameD, EFileRead );
if ( err != KErrNone ) {
XP_LOGDESC16( &nameD );
XP_LOGF( "file.Open => %d", err );
}
User::LeaveIfError( err );
CleanupClosePushL(file); CleanupClosePushL(file);
ctxt = (SymDictCtxt*)XP_MALLOC( mpool, sizeof(*ctxt) ); ctxt = (SymDictCtxt*)XP_MALLOC( mpool, sizeof(*ctxt) );