diff options
author | Hans Wennborg <hans@chromium.org> | 2015-11-19 13:39:01 -0800 |
---|---|---|
committer | Hans Wennborg <hans@chromium.org> | 2015-11-19 13:39:01 -0800 |
commit | 8840ec9b5c54da9dc9aae3afb8585a2ff80758d9 (patch) | |
tree | 0f563a01e977ed93e7bf5bb31027e2c630c20a1c /core | |
parent | 76b0104270b0a7f3ce7d40ddde2b6d6c8cb944db (diff) | |
download | pdfium-8840ec9b5c54da9dc9aae3afb8585a2ff80758d9.tar.xz |
Remove unused functionchromium/2573chromium/2572chromium/2571chromium/2570chromium/2569
It was breaking the Windows Clang build.
BUG=82385
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1459723005 .
Diffstat (limited to 'core')
-rw-r--r-- | core/src/fpdfdoc/doc_form.cpp | 13 |
1 files changed, 0 insertions, 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, |