зеркало из https://github.com/mozilla/gecko-dev.git
fix bug 67840 sr=erik r=ftang submit by David Baron
This commit is contained in:
Родитель
ffccef8a9a
Коммит
8b1ae7f725
|
@ -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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче