From 6f167c3ea2f8093170cae12a3de4ded76ac521ce Mon Sep 17 00:00:00 2001 From: tsepez Date: Thu, 14 Apr 2016 15:46:27 -0700 Subject: Change string argument type to GetFormatDataValue. Avoid string duplication, since the first thing these routines do is allocate a new string from the static string argument. Review URL: https://codereview.chromium.org/1889983002 --- xfa/fxfa/parser/cxfa_widgetdata.h | 4 ++-- 1 file changed, 2 insertions(+), 2 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 503b47feb2..3cdc7cc8e4 100644 --- a/xfa/fxfa/parser/cxfa_widgetdata.h +++ b/xfa/fxfa/parser/cxfa_widgetdata.h @@ -133,9 +133,9 @@ class CXFA_WidgetData : public CXFA_Data { XFA_VALUEPICTURE ePicture); IFX_Locale* GetLocal(); FX_BOOL GetValue(CFX_WideString& wsValue, XFA_VALUEPICTURE eValueType); - FX_BOOL GetNormalizeDataValue(const CFX_WideStringC& wsValue, + FX_BOOL GetNormalizeDataValue(const CFX_WideString& wsValue, CFX_WideString& wsNormalizeValue); - FX_BOOL GetFormatDataValue(const CFX_WideStringC& wsValue, + FX_BOOL GetFormatDataValue(const CFX_WideString& wsValue, CFX_WideString& wsFormatedValue); void NormalizeNumStr(const CFX_WideString& wsValue, CFX_WideString& wsOutput); CFX_WideString GetBarcodeType(); -- cgit v1.2.3