fix bug 67840 sr=erik r=ftang submit by David Baron
git-svn-id: svn://10.0.0.236/trunk@87644 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
e6dd3c4be7
commit
cb02b25851
@ -594,3 +594,15 @@ nsFontEnumeratorPh::EnumerateFonts(const char* aLangGroup,
|
||||
// XXX still need to implement aLangGroup and aGeneric
|
||||
return EnumerateAllFonts(aCount, aResult);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsFontEnumeratorPh::HaveFontFor(const char* aLangGroup, PRBool* aResult)
|
||||
{
|
||||
NS_ENSURE_ARG_POINTER(aResult);
|
||||
*aResult = PR_FALSE;
|
||||
NS_ENSURE_ARG_POINTER(aLangGroup);
|
||||
|
||||
*aResult = PR_TRUE; // always return true for now.
|
||||
// Finish me - ftang
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
@ -348,3 +348,15 @@ printf("JCG: nsFontEnumeratorQT::EnumerateFonts not implemented!\n");
|
||||
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsFontEnumeratorQT::HaveFontFor(const char* aLangGroup, PRBool* aResult)
|
||||
{
|
||||
NS_ENSURE_ARG_POINTER(aResult);
|
||||
*aResult = PR_FALSE;
|
||||
NS_ENSURE_ARG_POINTER(aLangGroup);
|
||||
|
||||
*aResult = PR_TRUE; // always return true for now.
|
||||
// Finish me - ftang
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
@ -2983,3 +2983,15 @@ nsFontEnumeratorXP::EnumerateFonts(const char* aLangGroup,
|
||||
// XXX still need to implement aLangGroup and aGeneric
|
||||
return EnumerateAllFonts(aCount, aResult);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsFontEnumeratorXP::HaveFontFor(const char* aLangGroup, PRBool* aResult)
|
||||
{
|
||||
NS_ENSURE_ARG_POINTER(aResult);
|
||||
*aResult = PR_FALSE;
|
||||
NS_ENSURE_ARG_POINTER(aLangGroup);
|
||||
|
||||
*aResult = PR_TRUE; // always return true for now.
|
||||
// Finish me - ftang
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user