diff options
author | Nico Weber <thakis@chromium.org> | 2015-10-30 13:07:00 -0700 |
---|---|---|
committer | Nico Weber <thakis@chromium.org> | 2015-10-30 13:07:00 -0700 |
commit | a6e2a4eca1be4daf14fae4e2427a6ca76269db43 (patch) | |
tree | eec7f3379736aac9afc9b0a387e04041b651b02e /core/src/fxge/win32/fx_win32_print.cpp | |
parent | 0bafcbed84d2f1d7e17cd1adfd15a2a019756ee4 (diff) | |
download | pdfium-a6e2a4eca1be4daf14fae4e2427a6ca76269db43.tar.xz |
More chromium_code whack-a-mole.
BUG=pdfium:29
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1419943006 .
Diffstat (limited to 'core/src/fxge/win32/fx_win32_print.cpp')
-rw-r--r-- | core/src/fxge/win32/fx_win32_print.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/core/src/fxge/win32/fx_win32_print.cpp b/core/src/fxge/win32/fx_win32_print.cpp index 18fe1eb6fa..0f75d493a4 100644 --- a/core/src/fxge/win32/fx_win32_print.cpp +++ b/core/src/fxge/win32/fx_win32_print.cpp @@ -138,8 +138,6 @@ static CFX_DIBitmap* Transform1bppBitmap(const CFX_DIBSource* pSrc, pSrc->GetFormat() == FXDIB_1bppCmyk); CFX_FloatRect unit_rect = pDestMatrix->GetUnitRect(); FX_RECT full_rect = unit_rect.GetOutterRect(); - int full_left = full_rect.left; - int full_top = full_rect.top; CFX_DIBExtractor src_bitmap(pSrc); CFX_DIBitmap* pSrcBitmap = src_bitmap; if (pSrcBitmap == NULL) { @@ -297,7 +295,7 @@ void CPSOutput::OutputPS(const FX_CHAR* string, int len) { int send_len = len > 1024 ? 1024 : len; *(FX_WORD*)m_pBuf = send_len; FXSYS_memcpy(m_pBuf + 2, string + sent_len, send_len); - int ret = ExtEscape(m_hDC, PASSTHROUGH, send_len + 2, m_pBuf, 0, NULL); + ExtEscape(m_hDC, PASSTHROUGH, send_len + 2, m_pBuf, 0, NULL); sent_len += send_len; len -= send_len; } |