photosgallery/collectionframework/datasource/plugins/glxdatasourcemde2.5/src/glxdatasourcetaskmdsattribute.cpp
equal
deleted
inserted
replaced
581 { |
581 { |
582 CMdEProperty* size; |
582 CMdEProperty* size; |
583 CMdEPropertyDef& sizeProperty = aContainer->Def().GetPropertyDefL( |
583 CMdEPropertyDef& sizeProperty = aContainer->Def().GetPropertyDefL( |
584 KPropertyDefNameSize); |
584 KPropertyDefNameSize); |
585 TInt sizeIndex = aContainer->Property(sizeProperty, size); |
585 TInt sizeIndex = aContainer->Property(sizeProperty, size); |
586 TInt sizeValue; |
586 TUint sizeValue; |
587 if(sizeIndex == KErrNotFound) |
587 if(sizeIndex == KErrNotFound) |
588 { |
588 { |
589 sizeValue = 0; |
589 sizeValue = 0; |
590 } |
590 } |
591 else |
591 else |
1436 } |
1436 } |
1437 |
1437 |
1438 CMdEQuery* query = DataSource()->Session().NewObjectQueryL(*DataSource()->NamespaceDef(), |
1438 CMdEQuery* query = DataSource()->Session().NewObjectQueryL(*DataSource()->NamespaceDef(), |
1439 *queryBaseObject, this); |
1439 *queryBaseObject, this); |
1440 CleanupStack::PushL(query); |
1440 CleanupStack::PushL(query); |
|
1441 query->SetResultMode(aResultMode); |
1441 SetQueryConditionsL(*query, aFilterProperties, aContainerId, aObjectDef); |
1442 SetQueryConditionsL(*query, aFilterProperties, aContainerId, aObjectDef); |
1442 query->SetResultMode(aResultMode); |
|
1443 |
1443 |
1444 iQueryAttributes.AppendL(TGlxQueryAttribute(aAttribute, aEntry, aFilterProperties)); |
1444 iQueryAttributes.AppendL(TGlxQueryAttribute(aAttribute, aEntry, aFilterProperties)); |
1445 |
1445 |
1446 CleanupStack::Pop(query); |
1446 CleanupStack::Pop(query); |
1447 |
1447 |