summaryrefslogtreecommitdiff
path: root/fxbarcode/cbc_codabar.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2017-04-16 01:30:59 -0700
committerChromium commit bot <commit-bot@chromium.org>2017-04-17 21:40:45 +0000
commit080dfd89269a95713d31d66829016d4885afe76b (patch)
tree7858d204a9e166f3a51be9bef5e1104514d54ac2 /fxbarcode/cbc_codabar.cpp
parent8f0bf890b4b15148a149bf9bbeead4eed6675e8a (diff)
downloadpdfium-080dfd89269a95713d31d66829016d4885afe76b.tar.xz
Remove dead barcode bitmap rendering code.
Change-Id: Idb5ef2aed456e84e0781c374b211560ab7d4fa3d Reviewed-on: https://pdfium-review.googlesource.com/4257 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'fxbarcode/cbc_codabar.cpp')
-rw-r--r--fxbarcode/cbc_codabar.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/fxbarcode/cbc_codabar.cpp b/fxbarcode/cbc_codabar.cpp
index 4072f32712..c10491707f 100644
--- a/fxbarcode/cbc_codabar.cpp
+++ b/fxbarcode/cbc_codabar.cpp
@@ -93,18 +93,6 @@ bool CBC_Codabar::RenderDevice(CFX_RenderDevice* device,
return true;
}
-bool CBC_Codabar::RenderBitmap(CFX_RetainPtr<CFX_DIBitmap>& pOutBitmap,
- int32_t& e) {
- CFX_WideString renderCon =
- static_cast<CBC_OnedCodaBarWriter*>(m_pBCWriter.get())
- ->encodedContents(m_renderContents.AsStringC());
- static_cast<CBC_OneDimWriter*>(m_pBCWriter.get())
- ->RenderBitmapResult(pOutBitmap, renderCon.AsStringC(), e);
- if (e != BCExceptionNO)
- return false;
- return true;
-}
-
BC_TYPE CBC_Codabar::GetType() {
return BC_CODABAR;
}