persistentstorage/dbms/ustor/US_FILE.CPP
branchGCC_SURGE
changeset 38 c4e342fcf0c8
parent 35 0d6db0a14001
child 55 44f437012c90
--- a/persistentstorage/dbms/ustor/US_FILE.CPP	Mon Jun 21 22:46:09 2010 +0100
+++ b/persistentstorage/dbms/ustor/US_FILE.CPP	Thu Jul 22 16:49:09 2010 +0100
@@ -97,7 +97,7 @@
 		{
 	default:
 		__LEAVE(KErrNotSupported);
-	case TDbFormat::ECreate:
+	case TDbFormat::ECreate:   
 		store=CPermanentFileStore::CreateL(iFs,aName,EFileRead|EFileWrite);
 		break;
 	case TDbFormat::EReplace:
@@ -143,7 +143,7 @@
 	__ASSERT(!iName);	// check construction phase
 //
 	iName=aName.AllocL();
-	const TUint mode=aMode==TDbFormat::EReadOnly ? EFileShareReadersOnly : EFileWrite;
+	TUint mode=aMode==TDbFormat::EReadOnly ? EFileShareReadersOnly : EFileWrite;
 	CFileStore* store=CPermanentFileStore::OpenL(iFs,*iName,mode);
 	iStore=store;
 	CDbStoreDatabase::RestoreL(DatabaseIdL(store->Root()));