summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_textparser.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-11-21 21:59:45 +0000
committerChromium commit bot <commit-bot@chromium.org>2017-11-21 21:59:45 +0000
commit96d6f741b3c106ba0e48a05692910f64cf1e5e09 (patch)
tree07fc97f427a308bffd995ae9a77aa2dbac9972eb /xfa/fxfa/cxfa_textparser.h
parentb06d3f8d7658eeab6624f66aef690a7f4b44936e (diff)
downloadpdfium-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/cxfa_textparser.h')
-rw-r--r--xfa/fxfa/cxfa_textparser.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/xfa/fxfa/cxfa_textparser.h b/xfa/fxfa/cxfa_textparser.h
index 9a2232efa1..09ef8dbbb2 100644
--- a/xfa/fxfa/cxfa_textparser.h
+++ b/xfa/fxfa/cxfa_textparser.h
@@ -15,6 +15,7 @@
#include "core/fxcrt/retain_ptr.h"
#include "core/fxge/fx_dib.h"
#include "xfa/fgas/font/cfgas_gefont.h"
+#include "xfa/fxfa/fxfa_basic.h"
class CFX_CSSComputedStyle;
class CFX_CSSStyleSelector;
@@ -40,7 +41,7 @@ class CXFA_TextParser {
bool IsParsed() const { return m_bParsed; }
- int32_t GetVAlign(CXFA_TextProvider* pTextProvider) const;
+ XFA_ATTRIBUTEENUM GetVAlign(CXFA_TextProvider* pTextProvider) const;
float GetTabInterval(CFX_CSSComputedStyle* pStyle) const;
int32_t CountTabs(CFX_CSSComputedStyle* pStyle) const;