metadataengine/server/src/mdssqlobjectmanipulate.cpp
branchRCL_3
changeset 22 29d87345eaeb
parent 21 85f623e1ef41
equal deleted inserted replaced
21:85f623e1ef41 22:29d87345eaeb
  2269 	for (TUint32 i = 0; i < aCount; ++i)
  2269 	for (TUint32 i = 0; i < aCount; ++i)
  2270 		{
  2270 		{
  2271 		TPtrC16 uri = aBuffer.ReceivePtr16L();
  2271 		TPtrC16 uri = aBuffer.ReceivePtr16L();
  2272         objectId = SearchObjectByUriL( uri, flags );
  2272         objectId = SearchObjectByUriL( uri, flags );
  2273         if ( objectId != KNoId && 
  2273         if ( objectId != KNoId && 
  2274              objectId != KSystemFavouritesAlbumId && 
  2274              uri != KSystemFavouritesAlbumUri && 
  2275              objectId != KSystemCapturedAlbumId )
  2275              uri != KSystemCapturedAlbumUri )
  2276 			{
  2276 			{
  2277 			// unlock object, so update is no possible anymore
  2277 			// unlock object, so update is no possible anymore
  2278 			if ( iLockList.IsLocked( *iNamespaceDef, objectId ) )
  2278 			if ( iLockList.IsLocked( *iNamespaceDef, objectId ) )
  2279 				{
  2279 				{
  2280 				iLockList.UnlockById( *iNamespaceDef, objectId );
  2280 				iLockList.UnlockById( *iNamespaceDef, objectId );