summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_widgetdata.h
diff options
context:
space:
mode:
authortsepez <tsepez@chromium.org>2016-04-14 15:46:27 -0700
committerCommit bot <commit-bot@chromium.org>2016-04-14 15:46:27 -0700
commit6f167c3ea2f8093170cae12a3de4ded76ac521ce (patch)
tree76ad1435272c22f677b4af2ec6b246d604aef3ce /xfa/fxfa/parser/cxfa_widgetdata.h
parent70c5520270ab41b71e8ae8d2e888b9ba25383190 (diff)
downloadpdfium-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.h4
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();