smsprotocols/smsstack/smsprot/Src/smspclass0stor.cpp
branchRCL_3
changeset 74 9200f38b1324
parent 66 07a122eea281
child 82 042fd2753b8f
equal deleted inserted replaced
70:4814c5a49428 74:9200f38b1324
   984 @internalComponent
   984 @internalComponent
   985 */
   985 */
   986 void CPreallocatedFile::OpenL()
   986 void CPreallocatedFile::OpenL()
   987 	{
   987 	{
   988 	User::LeaveIfError(iFile.Open(iFs, iFileName->Des(), EFileShareExclusive|EFileRead|EFileWrite));
   988 	User::LeaveIfError(iFile.Open(iFs, iFileName->Des(), EFileShareExclusive|EFileRead|EFileWrite));
       
   989 	CleanupClosePushL(iFile);
   989 	// Check the validity of the data.
   990 	// Check the validity of the data.
   990 	CheckDataL();
   991 	CheckDataL();
   991 	// Internalize data
   992 	// Internalize data
   992 	InternalizeEntryArrayL();
   993 	InternalizeEntryArrayL();
       
   994 	CleanupStack::Pop(&iFile);
   993 	}
   995 	}
   994 
   996 
   995 /**
   997 /**
   996 It closes the pre-allocated file.
   998 It closes the pre-allocated file.
   997 
   999