persistentstorage/centralrepository/cenrepsrv/srvrepos_noc.h
changeset 17 55f2396f6d25
parent 1 c084286672be
child 45 cc28652e0254
child 55 44f437012c90
--- a/persistentstorage/centralrepository/cenrepsrv/srvrepos_noc.h	Fri Apr 16 16:49:27 2010 +0300
+++ b/persistentstorage/centralrepository/cenrepsrv/srvrepos_noc.h	Mon May 03 14:09: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;
 		}