From 649bc02a2e2ab886733d7461ece89b4153a01d5f Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Sat, 15 Sep 2018 04:31:10 +0000 Subject: Remove FXFM_ENCODING_NONE. FX_CreateFontEncodingEx() always passes FXFM_ENCODING_NONE. Just get rid of it instead. Change-Id: I417f84d8ae2f10ba874265a92576d3ef8481a9d6 Reviewed-on: https://pdfium-review.googlesource.com/42460 Reviewed-by: Tom Sepez Commit-Queue: Lei Zhang --- fxbarcode/oned/BC_OneDimWriter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fxbarcode/oned') diff --git a/fxbarcode/oned/BC_OneDimWriter.cpp b/fxbarcode/oned/BC_OneDimWriter.cpp index c76817d138..9ad053db28 100644 --- a/fxbarcode/oned/BC_OneDimWriter.cpp +++ b/fxbarcode/oned/BC_OneDimWriter.cpp @@ -123,7 +123,7 @@ void CBC_OneDimWriter::CalcTextInfo(const ByteString& text, int32_t fontSize, float& charsLen) { std::unique_ptr encoding = - FX_CreateFontEncodingEx(cFont, FXFM_ENCODING_NONE); + FX_CreateFontEncodingEx(cFont); size_t length = text.GetLength(); uint32_t* pCharCode = FX_Alloc(uint32_t, text.GetLength()); -- cgit v1.2.3