persistentstorage/centralrepository/cenrepsrv/srvrepos_noc.h
branchRCL_3
changeset 24 cc28652e0254
parent 23 26645d81f48d
--- a/persistentstorage/centralrepository/cenrepsrv/srvrepos_noc.h	Tue Aug 31 16:57:14 2010 +0300
+++ b/persistentstorage/centralrepository/cenrepsrv/srvrepos_noc.h	Wed Sep 01 12:39:58 2010 +0100
@@ -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;
 		}