48 NS_ENSURE_TRUE(mImpl, NS_ERROR_OUT_OF_MEMORY);
50 nsresult rv = mImpl->
Init();
51 NS_ENSURE_SUCCESS(rv, rv);
54 NS_ENSURE_SUCCESS(rv, rv);
60 sbStringTransform::NormalizeString(
const nsAString & aCharset,
61 PRUint32 aTransformFlags,
62 const nsAString & aInput,
65 return mImpl->NormalizeString(aCharset, aTransformFlags, aInput, _retval);
69 sbStringTransform::ConvertToCharset(
const nsAString & aDestCharset,
70 const nsAString & aInput,
73 return mImpl->ConvertToCharset(aDestCharset, aInput, _retval);
77 sbStringTransform::GuessCharset(
const nsAString & aInput,
80 return mImpl->GuessCharset(aInput, _retval);
84 sbStringTransform::RemoveArticles(
const nsAString & aInput,
85 const nsAString & aLanguage,
static nsresult EnsureLoaded()
static nsresult RemoveArticles(const nsAString &aInput, const nsAString &aLanguage, nsAString &_retval)