diff -r 28839de615b4 -r 26645d81f48d persistentstorage/centralrepository/cenrepsrv/srvrepos_noc.h --- a/persistentstorage/centralrepository/cenrepsrv/srvrepos_noc.h Thu Aug 19 11:36:21 2010 +0300 +++ b/persistentstorage/centralrepository/cenrepsrv/srvrepos_noc.h Tue Aug 31 16:57:14 2010 +0300 @@ -107,8 +107,8 @@ TInt CheckPermissions(RSettingPointerArray& aSettings, const TClientRequest& aMessage, const char* aDiagnostic,TBool aReadPolicy,TUint32& aErrId); - TInt CheckAccessPolicyBeforeMoving(const TClientRequest& aMessage, const TServerSetting& aSourceSetting, TUint32 aSourceKey, - const TServerSetting& aTargetSetting, TUint32 aTargetKey, TUint32& aErrorKey); + TInt CheckAccessPolicyBeforeMoving(const TClientRequest& aMessage, const TServerSetting* aSourceSetting, TUint32 aSourceKey, + const TServerSetting* aTargetSetting, TUint32 aTargetKey, TUint32& aErrorKey); TInt CheckMovePermissions(const RSettingPointerArray& aSourceSettings,const TClientRequest& aMessage,TUint aSourceToTarget,TUint32& aErrorKey) { @@ -121,7 +121,7 @@ TUint32 targetKey = sourceKey ^ aSourceToTarget; TServerSetting* targetSetting = GetSetting(targetKey); - error = CheckAccessPolicyBeforeMoving(aMessage, *sourceSetting, sourceKey, *targetSetting, targetKey, aErrorKey); + error = CheckAccessPolicyBeforeMoving(aMessage, sourceSetting, sourceKey, targetSetting, targetKey, aErrorKey); } return error; }