From 67b2a358814beb7135552219cceca8c9b3f137a1 Mon Sep 17 00:00:00 2001 From: Dan Sinclair Date: Mon, 24 Apr 2017 09:45:54 -0400 Subject: Cleanup the XFA Bacode widget This Cl cleans up the XFA barcode widget. The custom binary search is removed. Some code shuffled from the header to the cpp file. Nits fixed. Change-Id: Icad0d2b25b07ea36afc5a5922a79f55b82616486 Reviewed-on: https://pdfium-review.googlesource.com/4394 Commit-Queue: dsinclair Reviewed-by: Tom Sepez --- xfa/fxfa/parser/cxfa_widgetdata.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'xfa/fxfa/parser/cxfa_widgetdata.h') diff --git a/xfa/fxfa/parser/cxfa_widgetdata.h b/xfa/fxfa/parser/cxfa_widgetdata.h index fb44745ad9..c38ea3502a 100644 --- a/xfa/fxfa/parser/cxfa_widgetdata.h +++ b/xfa/fxfa/parser/cxfa_widgetdata.h @@ -135,18 +135,18 @@ class CXFA_WidgetData : public CXFA_Data { CFX_WideString& wsFormattedValue); void NormalizeNumStr(const CFX_WideString& wsValue, CFX_WideString& wsOutput); CFX_WideString GetBarcodeType(); - bool GetBarcodeAttribute_CharEncoding(int32_t& val); - bool GetBarcodeAttribute_Checksum(bool& val); - bool GetBarcodeAttribute_DataLength(int32_t& val); - bool GetBarcodeAttribute_StartChar(char& val); - bool GetBarcodeAttribute_EndChar(char& val); - bool GetBarcodeAttribute_ECLevel(int32_t& val); - bool GetBarcodeAttribute_ModuleWidth(int32_t& val); - bool GetBarcodeAttribute_ModuleHeight(int32_t& val); - bool GetBarcodeAttribute_PrintChecksum(bool& val); - bool GetBarcodeAttribute_TextLocation(int32_t& val); - bool GetBarcodeAttribute_Truncate(bool& val); - bool GetBarcodeAttribute_WideNarrowRatio(float& val); + bool GetBarcodeAttribute_CharEncoding(int32_t* val); + bool GetBarcodeAttribute_Checksum(bool* val); + bool GetBarcodeAttribute_DataLength(int32_t* val); + bool GetBarcodeAttribute_StartChar(char* val); + bool GetBarcodeAttribute_EndChar(char* val); + bool GetBarcodeAttribute_ECLevel(int32_t* val); + bool GetBarcodeAttribute_ModuleWidth(int32_t* val); + bool GetBarcodeAttribute_ModuleHeight(int32_t* val); + bool GetBarcodeAttribute_PrintChecksum(bool* val); + bool GetBarcodeAttribute_TextLocation(int32_t* val); + bool GetBarcodeAttribute_Truncate(bool* val); + bool GetBarcodeAttribute_WideNarrowRatio(float* val); void GetPasswordChar(CFX_WideString& wsPassWord); bool IsMultiLine(); int32_t GetVerticalScrollPolicy(); -- cgit v1.2.3