equal
deleted
inserted
replaced
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 } |