mpx/commonframework/common/src/mpxpluginhandlerbase.cpp
branchRCL_3
changeset 24 6c1dfe4da5dd
parent 0 a2952bb97e68
child 25 63223d4fd956
equal deleted inserted replaced
23:e42293e811d8 24:6c1dfe4da5dd
   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     }