equal
deleted
inserted
replaced
432 |
432 |
433 |
433 |
434 void CCentRepSWIWatcher::ReadAndInternalizeInstallDirL(const TDesC& aInstallDirFilePath) |
434 void CCentRepSWIWatcher::ReadAndInternalizeInstallDirL(const TDesC& aInstallDirFilePath) |
435 { |
435 { |
436 RFile file; |
436 RFile file; |
437 TInt e=file.Open(TServerResources::iFs,aInstallDirFilePath, EFileRead|EFileShareReadersOnly); |
437 User::LeaveIfError(file.Open(TServerResources::iFs,aInstallDirFilePath, EFileRead|EFileShareReadersOnly)); |
438 if(e == KErrNotFound || e == KErrPathNotFound) |
|
439 { |
|
440 User::Leave(KErrNotFound); |
|
441 } |
|
442 CleanupClosePushL(file); |
438 CleanupClosePushL(file); |
443 |
439 |
444 CDirectFileStore* store = CDirectFileStore::FromLC (file); |
440 CDirectFileStore* store = CDirectFileStore::FromLC (file); |
445 if(store->Type()[0] != KDirectFileStoreLayoutUid) |
441 if(store->Type()[0] != KDirectFileStoreLayoutUid) |
446 { |
442 { |