diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-11-21 21:59:45 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-11-21 21:59:45 +0000 |
commit | 96d6f741b3c106ba0e48a05692910f64cf1e5e09 (patch) | |
tree | 07fc97f427a308bffd995ae9a77aa2dbac9972eb /xfa/fxfa/parser/cxfa_paradata.h | |
parent | b06d3f8d7658eeab6624f66aef690a7f4b44936e (diff) | |
download | pdfium-96d6f741b3c106ba0e48a05692910f64cf1e5e09.tar.xz |
Cleanup CXFA_ParaData
This CL fixes the return types and makes the CXFA_ParaData methods
const.
Change-Id: Ifb63b46e826d9741682d992d7fc1ee37c772fb41
Reviewed-on: https://pdfium-review.googlesource.com/19070
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/parser/cxfa_paradata.h')
-rw-r--r-- | xfa/fxfa/parser/cxfa_paradata.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/xfa/fxfa/parser/cxfa_paradata.h b/xfa/fxfa/parser/cxfa_paradata.h index 20c371ed51..b08c5c471f 100644 --- a/xfa/fxfa/parser/cxfa_paradata.h +++ b/xfa/fxfa/parser/cxfa_paradata.h @@ -16,14 +16,14 @@ class CXFA_ParaData : public CXFA_DataData { public: explicit CXFA_ParaData(CXFA_Node* pNode); - int32_t GetHorizontalAlign(); - int32_t GetVerticalAlign(); - float GetLineHeight(); - float GetMarginLeft(); - float GetMarginRight(); - float GetSpaceAbove(); - float GetSpaceBelow(); - float GetTextIndent(); + XFA_ATTRIBUTEENUM GetHorizontalAlign() const; + XFA_ATTRIBUTEENUM GetVerticalAlign() const; + float GetLineHeight() const; + float GetMarginLeft() const; + float GetMarginRight() const; + float GetSpaceAbove() const; + float GetSpaceBelow() const; + float GetTextIndent() const; }; #endif // XFA_FXFA_PARSER_CXFA_PARADATA_H_ |