engine/src/FeedEngine.cpp
changeset 8 aab3aa4acdd6
parent 7 a7a43293ae56
child 32 26a3f2dfba08
child 35 66c5303f3610
--- a/engine/src/FeedEngine.cpp	Thu Feb 25 17:12:04 2010 +0000
+++ b/engine/src/FeedEngine.cpp	Thu Feb 25 17:33:06 2010 +0000
@@ -230,16 +230,13 @@
 
 void CFeedEngine::NewShowL(CShowInfo& aItem)
 	{
-	//DP4("\nTitle: %S\nURL: %S\nDescription length: %d\nFeed: %d", &(item->Title()), &(item->Url()), item->Description().Length(), item->FeedUid());
-	
 	HBufC* description = HBufC::NewLC(KMaxDescriptionLength);
 	TPtr ptr(description->Des());
 	ptr.Copy(aItem.Description());
 	PodcastUtils::CleanHtmlL(ptr);
-	//DP1("New show has feed ID: %u") item->FeedUid());
-	TRAP_IGNORE(aItem.SetDescriptionL(*description));
+
+	aItem.SetDescriptionL(*description);
 	CleanupStack::PopAndDestroy(description);
-	//DP1("Description: %S", &description);
 
 	if (iCatchupMode) {
 		// in catchup mode, we let one show be unplayed
@@ -475,8 +472,7 @@
 	{
 	TBuf<KMaxLineLength> title;
 	title.Copy(item->Title());
-	TRAP_IGNORE(item->SetTitleL(title));
-	//DBUpdateFeed(*item);
+	item->SetTitleL(title); // if this leaves we are out of memory
 	}