mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-07 11:56:51 +00:00
fixing beos bustage
This commit is contained in:
parent
094fd306f6
commit
823b467985
@ -274,11 +274,12 @@ nsresult nsOSHelperAppService::GetMimeInfoFromExtension(const char *aFileExt,
|
||||
mimeIndex++;
|
||||
}
|
||||
if (found) {
|
||||
rv = SetMIMEInfoForType(mimeStr.String(), _retval);
|
||||
return SetMIMEInfoForType(mimeStr.String(), _retval);
|
||||
}
|
||||
}
|
||||
|
||||
return rv;
|
||||
// Extension not found
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
nsresult nsOSHelperAppService::GetMimeInfoFromMIMEType(const char *aMIMEType,
|
||||
@ -303,11 +304,11 @@ nsresult nsOSHelperAppService::GetMimeInfoFromMIMEType(const char *aMIMEType,
|
||||
index++;
|
||||
}
|
||||
if (found) {
|
||||
rv = SetMIMEInfoForType(aMIMEType, _retval);
|
||||
return SetMIMEInfoForType(aMIMEType, _retval);
|
||||
}
|
||||
}
|
||||
|
||||
return rv;
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
already_AddRefed<nsIMIMEInfo>
|
||||
|
Loading…
Reference in New Issue
Block a user