Remove unused function It was breaking the Windows Clang build. BUG=82385 R=thestig@chromium.org Review URL: https://codereview.chromium.org/1459723005 .
diff --git a/core/src/fpdfdoc/doc_form.cpp b/core/src/fpdfdoc/doc_form.cpp index 241609e..07c54a0 100644 --- a/core/src/fpdfdoc/doc_form.cpp +++ b/core/src/fpdfdoc/doc_form.cpp
@@ -371,19 +371,6 @@ } return RetrieveSpecificFont(lf); } -static FX_BOOL RetrieveStockFont(int iFontObject, - uint8_t charSet, - LOGFONTA& lf) { - HFONT hFont = (HFONT)::GetStockObject(iFontObject); - if (hFont != NULL) { - memset(&lf, 0, sizeof(LOGFONTA)); - int iRet = ::GetObject(hFont, sizeof(LOGFONTA), &lf); - if (iRet > 0 && (lf.lfCharSet == charSet || charSet == 255)) { - return RetrieveSpecificFont(lf); - } - } - return FALSE; -} #endif CPDF_Font* CPDF_InterForm::AddStandardFont(CPDF_Document* pDocument,