diff options
author | tsepez <tsepez@chromium.org> | 2016-04-14 15:46:27 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-04-14 15:46:27 -0700 |
commit | 6f167c3ea2f8093170cae12a3de4ded76ac521ce (patch) | |
tree | 76ad1435272c22f677b4af2ec6b246d604aef3ce /xfa/fxfa/parser/cxfa_widgetdata.h | |
parent | 70c5520270ab41b71e8ae8d2e888b9ba25383190 (diff) | |
download | pdfium-6f167c3ea2f8093170cae12a3de4ded76ac521ce.tar.xz |
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
Diffstat (limited to 'xfa/fxfa/parser/cxfa_widgetdata.h')
-rw-r--r-- | xfa/fxfa/parser/cxfa_widgetdata.h | 4 |
1 files changed, 2 insertions, 2 deletions
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(); |