r=peterl, sr=jst, a=asa
Handle plugins with no name or description
This commit is contained in:
mkaply%us.ibm.com 2002-08-02 21:03:16 +00:00
parent 862ba648ba
commit a78c1cf8e4

View File

@ -4410,7 +4410,8 @@ public:
NS_METHOD GetDescription(nsAString& aDescription) NS_METHOD GetDescription(nsAString& aDescription)
{ {
return DoCharsetConversion(mUnicodeDecoder, mPluginTag.mDescription, aDescription); DoCharsetConversion(mUnicodeDecoder, mPluginTag.mDescription, aDescription);
return NS_OK;
} }
NS_METHOD GetFilename(nsAString& aFilename) NS_METHOD GetFilename(nsAString& aFilename)
@ -4452,7 +4453,8 @@ public:
NS_METHOD GetName(nsAString& aName) NS_METHOD GetName(nsAString& aName)
{ {
return DoCharsetConversion(mUnicodeDecoder, mPluginTag.mName, aName); DoCharsetConversion(mUnicodeDecoder, mPluginTag.mName, aName);
return NS_OK;
} }
NS_METHOD GetLength(PRUint32* aLength) NS_METHOD GetLength(PRUint32* aLength)