summaryrefslogtreecommitdiff
path: root/xfa/src/fxbarcode/oned/BC_OneDimWriter.cpp
diff options
context:
space:
mode:
authorJun Fang <jun_fang@foxitsoftware.com>2015-11-03 19:01:30 -0800
committerJun Fang <jun_fang@foxitsoftware.com>2015-11-03 19:01:30 -0800
commit4a8eeb74d38a1589c21ec06b68262d7795dd8f71 (patch)
tree9a78f3fb9223adf2a3d26eb972da4461c3d22b5f /xfa/src/fxbarcode/oned/BC_OneDimWriter.cpp
parent844ccfeab312ed294059de94118a40336df875d7 (diff)
downloadpdfium-4a8eeb74d38a1589c21ec06b68262d7795dd8f71.tar.xz
Remove unused variables
BUG=pdfium:261 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1413343003 .
Diffstat (limited to 'xfa/src/fxbarcode/oned/BC_OneDimWriter.cpp')
-rw-r--r--xfa/src/fxbarcode/oned/BC_OneDimWriter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/src/fxbarcode/oned/BC_OneDimWriter.cpp b/xfa/src/fxbarcode/oned/BC_OneDimWriter.cpp
index 8332986bae..11d1021aa2 100644
--- a/xfa/src/fxbarcode/oned/BC_OneDimWriter.cpp
+++ b/xfa/src/fxbarcode/oned/BC_OneDimWriter.cpp
@@ -197,7 +197,7 @@ void CBC_OneDimWriter::ShowDeviceChars(CFX_RenderDevice* device,
if (matrix != NULL) {
affine_matrix.Concat(*matrix);
}
- FX_BOOL ret = device->DrawNormalText(
+ device->DrawNormalText(
str.GetLength(), pCharPos, m_pFont, CFX_GEModule::Get()->GetFontCache(),
(FX_FLOAT)iFontSize, (CFX_AffineMatrix*)&affine_matrix, m_fontColor,
FXTEXT_CLEARTYPE);
@@ -216,7 +216,7 @@ void CBC_OneDimWriter::ShowBitmapChars(CFX_DIBitmap* pOutBitmap,
FX_RECT geRect(0, 0, (int)geWidth, iTextHeight);
ge.FillRect(&geRect, m_backgroundColor);
CFX_AffineMatrix affine_matrix(1.0, 0.0, 0.0, -1.0, 0.0, (FX_FLOAT)iFontSize);
- FX_BOOL ret = ge.DrawNormalText(
+ ge.DrawNormalText(
str.GetLength(), pCharPos, m_pFont, CFX_GEModule::Get()->GetFontCache(),
(FX_FLOAT)iFontSize, (CFX_AffineMatrix*)&affine_matrix, m_fontColor,
FXTEXT_CLEARTYPE);