if(verb == wxT("open"))
{
ICMapEntry entry;
- OSStatus status = ICGetMapEntry( (ICInstance) m_manager->m_hIC,
- (Handle) m_manager->m_hDatabase,
- m_lIndex, &entry);
- wxASSERT( status == noErr );
+ ICGetMapEntry( (ICInstance) m_manager->m_hIC,
+ (Handle) m_manager->m_hDatabase,
+ m_lIndex, &entry);
//Technote 1002 is a godsend in launching apps :)
//The entry in the mimetype database only contains the app
return false;
ICMapEntry entry;
- OSStatus status = ICGetMapEntry( (ICInstance) m_manager->m_hIC,
- (Handle) m_manager->m_hDatabase,
- m_lIndex, &entry);
- wxASSERT( status == noErr );
+ ICGetMapEntry( (ICInstance) m_manager->m_hIC,
+ (Handle) m_manager->m_hDatabase,
+ m_lIndex, &entry);
//entry has period in it
wxString sCurrentExtension = wxMacMakeStringFromPascal(entry.extension);
return false;
ICMapEntry entry;
- OSStatus status = ICGetMapEntry( (ICInstance) m_manager->m_hIC,
- (Handle) m_manager->m_hDatabase,
- m_lIndex, &entry);
- wxASSERT( status == noErr );
+ ICGetMapEntry( (ICInstance) m_manager->m_hIC,
+ (Handle) m_manager->m_hDatabase,
+ m_lIndex, &entry);
*mimeType = wxMacMakeStringFromPascal(entry.MIMEType);
return true;
return false;
ICMapEntry entry;
- OSStatus status = ICGetMapEntry( (ICInstance) m_manager->m_hIC,
- (Handle) m_manager->m_hDatabase,
- m_lIndex, &entry);
- wxASSERT( status == noErr );
+ ICGetMapEntry( (ICInstance) m_manager->m_hIC,
+ (Handle) m_manager->m_hDatabase,
+ m_lIndex, &entry);
*desc = wxString((char*)entry.entryName, wxConvLocal);
return true;