engine/collectionframework/datasource/plugins/glxdatasourcemde2.5/src/glxdatasourcetaskmds.cpp
equal
deleted
inserted
replaced
373 |
373 |
374 if( aFilterProperties.iNoDRM ) |
374 if( aFilterProperties.iNoDRM ) |
375 { |
375 { |
376 __ASSERT_DEBUG((EGlxFilterImage == aFilterProperties.iItemType), Panic( |
376 __ASSERT_DEBUG((EGlxFilterImage == aFilterProperties.iItemType), Panic( |
377 EGlxPanicIllegalArgument)); |
377 EGlxPanicIllegalArgument)); |
|
378 |
|
379 CMdEPropertyDef& drmProperty = DataSource()->ImageDef().GetPropertyDefL(MdeConstants::MediaObject::KDRMProperty); |
|
380 CMdEPropertyCondition& drmPropertyCondition = aLogicCondition.AddPropertyConditionL(drmProperty); |
|
381 drmPropertyCondition.SetNegate(ETrue); |
378 } |
382 } |
379 |
383 |
380 if( aFilterProperties.iPath ) // If this is set. Then we need to filter on the Ids it supplies |
384 if( aFilterProperties.iPath ) // If this is set. Then we need to filter on the Ids it supplies |
381 { |
385 { |
382 TArray<TInt> selection = aFilterProperties.iPath->Selection(); |
386 TArray<TInt> selection = aFilterProperties.iPath->Selection(); |