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