diff -r ba32e40d9f36 -r c4e342fcf0c8 persistentstorage/dbms/ustor/US_FILE.CPP --- 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()));