summaryrefslogtreecommitdiff
path: root/fxbarcode/cbc_ean8.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxbarcode/cbc_ean8.cpp')
-rw-r--r--fxbarcode/cbc_ean8.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/fxbarcode/cbc_ean8.cpp b/fxbarcode/cbc_ean8.cpp
index ce2cf2ba79..7fbe07fd7f 100644
--- a/fxbarcode/cbc_ean8.cpp
+++ b/fxbarcode/cbc_ean8.cpp
@@ -48,7 +48,7 @@ CFX_WideString CBC_EAN8::Preprocess(const CFX_WideStringC& contents) {
return encodeContents;
}
-bool CBC_EAN8::Encode(const CFX_WideStringC& contents, bool isDevice) {
+bool CBC_EAN8::Encode(const CFX_WideStringC& contents) {
if (contents.IsEmpty())
return false;
@@ -63,8 +63,8 @@ bool CBC_EAN8::Encode(const CFX_WideStringC& contents, bool isDevice) {
pWriter->Encode(byteString, format, outWidth, outHeight));
if (!data)
return false;
- return pWriter->RenderResult(encodeContents.AsStringC(), data.get(), outWidth,
- isDevice);
+ return pWriter->RenderResult(encodeContents.AsStringC(), data.get(),
+ outWidth);
}
bool CBC_EAN8::RenderDevice(CFX_RenderDevice* device,