summaryrefslogtreecommitdiff
path: root/fxbarcode/cbc_upca.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxbarcode/cbc_upca.cpp')
-rw-r--r--fxbarcode/cbc_upca.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/fxbarcode/cbc_upca.cpp b/fxbarcode/cbc_upca.cpp
index 85b5d549ab..f4c273f764 100644
--- a/fxbarcode/cbc_upca.cpp
+++ b/fxbarcode/cbc_upca.cpp
@@ -49,7 +49,7 @@ CFX_WideString CBC_UPCA::Preprocess(const CFX_WideStringC& contents) {
return encodeContents;
}
-bool CBC_UPCA::Encode(const CFX_WideStringC& contents, bool isDevice) {
+bool CBC_UPCA::Encode(const CFX_WideStringC& contents) {
if (contents.IsEmpty())
return false;
@@ -66,8 +66,8 @@ bool CBC_UPCA::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_UPCA::RenderDevice(CFX_RenderDevice* device,