harvester/composerplugins/imagecomposer/src/imagecomposerao.cpp
branchRCL_3
changeset 3 6752808b2036
parent 1 acef663c1218
child 7 3cebc1a84278
--- a/harvester/composerplugins/imagecomposer/src/imagecomposerao.cpp	Tue Feb 02 00:24:33 2010 +0200
+++ b/harvester/composerplugins/imagecomposer/src/imagecomposerao.cpp	Fri Feb 19 23:14:48 2010 +0200
@@ -88,7 +88,7 @@
 // ---------------------------------------------------------------------------
 //
 CImageComposerAO::CImageComposerAO() : // first-phase C++ constructor
-		CActive( KHarvesterPriorityComposerPlugin )
+		CActive( KHarvesterPriorityComposerPlugin + 1 ) // To match image harvester plugin
     {
     WRITELOG( "CImageComposerAO::CImageComposerAO()" );
     }
@@ -240,6 +240,7 @@
             {
             if( iItemQueue.Count() <= 0 )
             	{
+                iItemQueue.Compress();
             	SetNextRequest( ERequestReady );
             	}
             else
@@ -294,6 +295,7 @@
             
         case ERequestReady:
             {
+            iForceObjectIds.Compress();
             }
             break;
             
@@ -359,10 +361,6 @@
     	aMdEObjectId = objectId;
     	iItemQueue.Remove( 0 );
     	}
-    else
-    	{
-    	iItemQueue.Compress();
-    	}
     
     // get object from db (NULL if not found)
     CMdEObject* mdeObject = iSession->GetObjectL( objectId, *iImageObjectDef );