--- a/metadataengine/server/src/mdsfindsequence.cpp Fri Feb 19 23:14:48 2010 +0200
+++ b/metadataengine/server/src/mdsfindsequence.cpp Fri Mar 12 15:44:28 2010 +0200
@@ -284,7 +284,7 @@
CMdSFindEngine* obs = iObserver;
if ( obs )
{
- obs->SetComplete( KErrNone );
+ obs->SetComplete( KErrNone, ETrue );
}
}
else if ( result == KErrCancel )
@@ -297,7 +297,7 @@
CMdSFindEngine* obs = iObserver;
if ( obs )
{
- obs->FindComplete( result );
+ obs->SetComplete( result, EFalse );
}
}
}
@@ -311,7 +311,7 @@
// Cleanup if RunL() leaves
CMdSFindEngine* obs = iObserver;
CleanUp();
- obs->FindComplete( aError );
+ obs->SetComplete( aError, EFalse );
return KErrNone;
}
@@ -507,7 +507,7 @@
RArray<TMdCObject> objectArray;
CleanupClosePushL( objectArray );
- objectArray.Reserve( items.iObjects.iPtr.iCount );
+ objectArray.ReserveL( items.iObjects.iPtr.iCount );
// store objects in array in correct order
for( TInt i = 0; i < items.iObjects.iPtr.iCount; ++i )
{