mpx/commonframework/common/src/mpxpluginhandlerbase.cpp
changeset 50 762d760dcfdf
parent 0 a2952bb97e68
child 56 63223d4fd956
equal deleted inserted replaced
48:b7b49303d0c0 50:762d760dcfdf
   537 // Return plugin name which supports the specified uid
   537 // Return plugin name which supports the specified uid
   538 // ----------------------------------------------------------------------------
   538 // ----------------------------------------------------------------------------
   539 //
   539 //
   540 EXPORT_C const TDesC& CMPXPluginHandlerBase::PluginName(const TUid& aUid) const
   540 EXPORT_C const TDesC& CMPXPluginHandlerBase::PluginName(const TUid& aUid) const
   541     {
   541     {
   542     const TDesC* name=&KNullDesC;
   542     const TDesC* name;
   543     TInt index(IndexOf(aUid));
   543     TInt index(IndexOf(aUid));
   544     MPX_ASSERT(KErrNotFound!=index && index<iPluginInfoArray.Count());
   544     MPX_ASSERT(KErrNotFound!=index && index<iPluginInfoArray.Count());
   545     name = &iPluginInfoArray[index]->DisplayName();
   545     name = &iPluginInfoArray[index]->DisplayName();
   546     return *name;
   546     return *name;
   547     }
   547     }