--- a/harvesterplugins/media/image/src/cpixmediaimagedoc.cpp Mon Aug 09 12:23:41 2010 +0530
+++ b/harvesterplugins/media/image/src/cpixmediaimagedoc.cpp Wed Aug 25 13:02:31 2010 +0530
@@ -108,10 +108,9 @@
}
#ifdef USE_HIGHLIGHTER
- //Get the media file extension and store
- TBuf<KMaxExtLength> extension;
- GetExtension(aObject.Uri(),extension);
- AddToFieldExcerptL(extension);
+ TInt slashpos = GetUri().LocateReverse('\\');
+ TPtrC name = GetUri().Mid( (slashpos+1) );
+ index_item->AddHLDisplayFieldL(name);
#endif
//Get user comment field
CMdEPropertyDef& commentPropDef = aObjectDef.GetPropertyDefL(MdeConstants::MediaObject::KCommentProperty );