syncmlfw/ds/syncagent/src/nsmldsmapcontainer.cpp
changeset 73 ae69c2e8bc34
parent 0 b497e44ab2fc
equal deleted inserted replaced
71:d2517372cc44 73:ae69c2e8bc34
   205 // -----------------------------------------------------------------------------
   205 // -----------------------------------------------------------------------------
   206 //
   206 //
   207 void CNSmlDSMapContainer::PcdataNewL( SmlPcdata_t*& aPcdata, const TDesC8& aContent ) const
   207 void CNSmlDSMapContainer::PcdataNewL( SmlPcdata_t*& aPcdata, const TDesC8& aContent ) const
   208 	{
   208 	{
   209 	aPcdata = new( ELeave ) SmlPcdata_t;
   209 	aPcdata = new( ELeave ) SmlPcdata_t;
       
   210 	CleanupStack::PushL(aPcdata);
   210 	aPcdata->SetDataL( aContent );
   211 	aPcdata->SetDataL( aContent );
   211 	aPcdata->contentType = SML_PCDATA_OPAQUE;   
   212 	aPcdata->contentType = SML_PCDATA_OPAQUE;   
   212 	aPcdata->extension = SML_EXT_UNDEFINED; 	
   213 	aPcdata->extension = SML_EXT_UNDEFINED; 
       
   214 	CleanupStack::Pop(aPcdata);	
   213 	}
   215 	}
   214 
   216 
   215 // -----------------------------------------------------------------------------
   217 // -----------------------------------------------------------------------------
   216 // CNSmlDSMapContainer::MapSourceParent
   218 // CNSmlDSMapContainer::MapSourceParent
   217 // Maps a SourceParent to an existing LUID.
   219 // Maps a SourceParent to an existing LUID.