photosgallery/collectionframework/datasource/plugins/glxdatasourcemde2.5/src/glxdatasourcetaskmds.cpp
equal
deleted
inserted
replaced
312 |
312 |
313 if( aFilterProperties.iNoDRM ) |
313 if( aFilterProperties.iNoDRM ) |
314 { |
314 { |
315 __ASSERT_DEBUG((EGlxFilterImage == aFilterProperties.iItemType), Panic( |
315 __ASSERT_DEBUG((EGlxFilterImage == aFilterProperties.iItemType), Panic( |
316 EGlxPanicIllegalArgument)); |
316 EGlxPanicIllegalArgument)); |
|
317 |
|
318 CMdEPropertyDef& drmProperty = DataSource()->ImageDef().GetPropertyDefL(MdeConstants::MediaObject::KDRMProperty); |
|
319 CMdEPropertyCondition& drmPropertyCondition = aLogicCondition.AddPropertyConditionL(drmProperty); |
|
320 drmPropertyCondition.SetNegate(ETrue); |
317 } |
321 } |
318 |
322 |
319 if( aFilterProperties.iPath ) // If this is set. Then we need to filter on the Ids it supplies |
323 if( aFilterProperties.iPath ) // If this is set. Then we need to filter on the Ids it supplies |
320 { |
324 { |
321 TArray<TInt> selection = aFilterProperties.iPath->Selection(); |
325 TArray<TInt> selection = aFilterProperties.iPath->Selection(); |