equal
deleted
inserted
replaced
434 void CThumbnailServer::AddBitmapToPoolL( CThumbnailServerSession* aSession, |
434 void CThumbnailServer::AddBitmapToPoolL( CThumbnailServerSession* aSession, |
435 CFbsBitmap* aBitmap ) |
435 CFbsBitmap* aBitmap ) |
436 { |
436 { |
437 if( !aBitmap ) |
437 if( !aBitmap ) |
438 { |
438 { |
|
439 TN_DEBUG1( "CThumbnailServer::AddBitmapToPoolL() - KErrArgument"); |
439 User::Leave( KErrArgument ); |
440 User::Leave( KErrArgument ); |
440 } |
441 } |
441 TN_DEBUG4( |
442 TN_DEBUG4( |
442 "CThumbnailServer::AddBitmapToPoolL(aSession=0x%08x, aBitmap=0x%08x), handle=%d", aSession, aBitmap, aBitmap->Handle()); |
443 "CThumbnailServer::AddBitmapToPoolL(aSession=0x%08x, aBitmap=0x%08x), handle=%d", aSession, aBitmap, aBitmap->Handle()); |
443 |
444 |
909 // |
910 // |
910 CThumbnailStore* CThumbnailServer::StoreForPathL( const TDesC& aPath ) |
911 CThumbnailStore* CThumbnailServer::StoreForPathL( const TDesC& aPath ) |
911 { |
912 { |
912 if(aPath.Length() < 3 || aPath.Length() > KMaxPath) |
913 if(aPath.Length() < 3 || aPath.Length() > KMaxPath) |
913 { |
914 { |
|
915 TN_DEBUG1( "CThumbnailServer::StoreForPathL() - KErrArgument"); |
914 User::Leave(KErrArgument); |
916 User::Leave(KErrArgument); |
915 } |
917 } |
916 TInt drive = 0; |
918 TInt drive = 0; |
917 User::LeaveIfError( RFs::CharToDrive( aPath[0], drive )); |
919 User::LeaveIfError( RFs::CharToDrive( aPath[0], drive )); |
918 return StoreForDriveL( drive ); |
920 return StoreForDriveL( drive ); |