From 8840ec9b5c54da9dc9aae3afb8585a2ff80758d9 Mon Sep 17 00:00:00 2001 From: Hans Wennborg Date: Thu, 19 Nov 2015 13:39:01 -0800 Subject: Remove unused function It was breaking the Windows Clang build. BUG=82385 R=thestig@chromium.org Review URL: https://codereview.chromium.org/1459723005 . --- core/src/fpdfdoc/doc_form.cpp | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/core/src/fpdfdoc/doc_form.cpp b/core/src/fpdfdoc/doc_form.cpp index 241609efbc..07c54a08a8 100644 --- a/core/src/fpdfdoc/doc_form.cpp +++ b/core/src/fpdfdoc/doc_form.cpp @@ -371,19 +371,6 @@ static FX_BOOL RetrieveSpecificFont(uint8_t charSet, } 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, -- cgit v1.2.3