mpx/commonframework/common/src/mpxpluginhandlerbase.cpp
branchRCL_3
changeset 56 63223d4fd956
parent 55 6c1dfe4da5dd
equal deleted inserted replaced
55:6c1dfe4da5dd 56:63223d4fd956
   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;
   542     const TDesC* name=&KNullDesC;
   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     }