harvester/composerplugins/imagecomposer/src/imagecomposerao.cpp
branchRCL_3
changeset 7 3cebc1a84278
parent 3 6752808b2036
child 19 b73252188534
equal deleted inserted replaced
6:646a02f170b9 7:3cebc1a84278
    86 // ---------------------------------------------------------------------------
    86 // ---------------------------------------------------------------------------
    87 // CComposerImagePlugin
    87 // CComposerImagePlugin
    88 // ---------------------------------------------------------------------------
    88 // ---------------------------------------------------------------------------
    89 //
    89 //
    90 CImageComposerAO::CImageComposerAO() : // first-phase C++ constructor
    90 CImageComposerAO::CImageComposerAO() : // first-phase C++ constructor
    91 		CActive( KHarvesterPriorityComposerPlugin + 1 ) // To match image harvester plugin
    91 		CActive( KHarvesterPriorityComposerPlugin )
    92     {
    92     {
    93     WRITELOG( "CImageComposerAO::CImageComposerAO()" );
    93     WRITELOG( "CImageComposerAO::CImageComposerAO()" );
    94     }
    94     }
    95 
    95 
    96 // ---------------------------------------------------------------------------
    96 // ---------------------------------------------------------------------------
   869 
   869 
   870         // if object doesn't contain any properties, remove it
   870         // if object doesn't contain any properties, remove it
   871         if ( !cellIdProperty && !countryCodeProperty && !networkCodeProperty
   871         if ( !cellIdProperty && !countryCodeProperty && !networkCodeProperty
   872             && !locationAreaCodeProperty && !speedProperty && !directionProperty && !qualityProperty )
   872             && !locationAreaCodeProperty && !speedProperty && !directionProperty && !qualityProperty )
   873             {
   873             {
       
   874             // Ignore return value - if operation does not succeed, there is no much that can be done here
   874             iSession->RemoveObjectL( aLocationObject->Id(), iDefaultNamespace );
   875             iSession->RemoveObjectL( aLocationObject->Id(), iDefaultNamespace );
   875             }
   876             }
   876         }
   877         }
   877     
   878     
   878     CleanupStack::PopAndDestroy( imageData );
   879     CleanupStack::PopAndDestroy( imageData );