summaryrefslogtreecommitdiff
path: root/xfa/fxfa/app/cxfa_textparser.cpp
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2017-01-12 10:27:16 -0500
committerChromium commit bot <commit-bot@chromium.org>2017-01-12 19:22:47 +0000
commit98d00b230aa14924dfde2eba3aaf69f86d18a45b (patch)
treef52e00fa9e69be083ecbfcdf795d534e79f07005 /xfa/fxfa/app/cxfa_textparser.cpp
parent6cf5ecae75a5cd6fea9ae7f4e28cc28abb3e69c6 (diff)
downloadpdfium-98d00b230aa14924dfde2eba3aaf69f86d18a45b.tar.xz
Remove used items from the CSS code.chromium/2980
This Cl cleans up the property and property value definitions which are never used in the FDE CSS parser code. A few other unused methods are also removed. Change-Id: Ib5a316d9c877d87f1d5e0003de4d85d59eab087a Reviewed-on: https://pdfium-review.googlesource.com/2175 Reviewed-by: Tom Sepez <tsepez@chromium.org> Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fxfa/app/cxfa_textparser.cpp')
-rw-r--r--xfa/fxfa/app/cxfa_textparser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xfa/fxfa/app/cxfa_textparser.cpp b/xfa/fxfa/app/cxfa_textparser.cpp
index ec2b7c3cb0..8fe923b058 100644
--- a/xfa/fxfa/app/cxfa_textparser.cpp
+++ b/xfa/fxfa/app/cxfa_textparser.cpp
@@ -245,7 +245,7 @@ void CXFA_TextParser::ParseRichText(CFDE_XMLNode* pXMLNode,
pNewStyle = CreateStyle(pParentStyle);
CFDE_CSSAccelerator* pCSSAccel = m_pSelector->InitAccelerator();
pCSSAccel->OnEnterTag(&tagProvider);
- CFDE_CSSDeclarationArray DeclArray;
+ CFX_ArrayTemplate<CFDE_CSSDeclaration*> DeclArray;
int32_t iMatchedDecls =
m_pSelector->MatchDeclarations(&tagProvider, DeclArray);
const CFDE_CSSDeclaration** ppMatchDecls =