diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-11-22 22:09:42 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-11-22 22:09:42 +0000 |
commit | fd16e44aa9b0e63e6d25254a3b812fb27152b6f4 (patch) | |
tree | 92092b4cc86a05f90518b63c4f884566380bfd92 /xfa/fxfa/parser/cxfa_valuedata.h | |
parent | 9d0d36b7f3e2106bbeb332edf821fc2c637e6ea0 (diff) | |
download | pdfium-fd16e44aa9b0e63e6d25254a3b812fb27152b6f4.tar.xz |
Cleanup CXFA_ValueData
This CL makes the methods const and uses return values instead of
out-params.
Change-Id: If760cd8c10d8f3a94dd3e13c46200cb6738a4d5a
Reviewed-on: https://pdfium-review.googlesource.com/19150
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_valuedata.h')
-rw-r--r-- | xfa/fxfa/parser/cxfa_valuedata.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/xfa/fxfa/parser/cxfa_valuedata.h b/xfa/fxfa/parser/cxfa_valuedata.h index 7e647d8d2a..101c960325 100644 --- a/xfa/fxfa/parser/cxfa_valuedata.h +++ b/xfa/fxfa/parser/cxfa_valuedata.h @@ -22,14 +22,14 @@ class CXFA_ValueData : public CXFA_DataData { public: explicit CXFA_ValueData(CXFA_Node* pNode) : CXFA_DataData(pNode) {} - XFA_Element GetChildValueClassID(); - bool GetChildValueContent(WideString& wsContent); - CXFA_ArcData GetArcData(); - CXFA_LineData GetLineData(); - CXFA_RectangleData GetRectangleData(); - CXFA_TextData GetTextData(); - CXFA_ExDataData GetExData(); - CXFA_ImageData GetImageData(); + XFA_Element GetChildValueClassID() const; + WideString GetChildValueContent() const; + CXFA_ArcData GetArcData() const; + CXFA_LineData GetLineData() const; + CXFA_RectangleData GetRectangleData() const; + CXFA_TextData GetTextData() const; + CXFA_ExDataData GetExData() const; + CXFA_ImageData GetImageData() const; }; #endif // XFA_FXFA_PARSER_CXFA_VALUEDATA_H_ |