diff options
author | tsepez <tsepez@chromium.org> | 2016-12-08 10:55:57 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-12-08 10:55:57 -0800 |
commit | 51709bea3ce113df7d36a5fe6415036e26fc3236 (patch) | |
tree | ff2cc5da9de834bda8cbc5c92d45c9a5c00b21c3 /xfa/fde/xml/fde_xml_imp.h | |
parent | 447b1f3ffc7e0df233d15300bbf8a85ce2bc7278 (diff) | |
download | pdfium-51709bea3ce113df7d36a5fe6415036e26fc3236.tar.xz |
Replace CFX_WideStringArray with std::vector
Minimalist changes with the tidying of the code to
use better loop iterators as a follow-up.
Review-Url: https://codereview.chromium.org/2556963004
Diffstat (limited to 'xfa/fde/xml/fde_xml_imp.h')
-rw-r--r-- | xfa/fde/xml/fde_xml_imp.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/xfa/fde/xml/fde_xml_imp.h b/xfa/fde/xml/fde_xml_imp.h index 8571f1b9f1..126b0355a3 100644 --- a/xfa/fde/xml/fde_xml_imp.h +++ b/xfa/fde/xml/fde_xml_imp.h @@ -8,6 +8,7 @@ #define XFA_FDE_XML_FDE_XML_IMP_H_ #include <memory> +#include <vector> #include "core/fxcrt/fx_system.h" #include "xfa/fde/xml/fde_xml.h" @@ -105,8 +106,8 @@ class CFDE_XMLInstruction : public CFDE_XMLNode { void RemoveData(int32_t index); CFX_WideString m_wsTarget; - CFX_WideStringArray m_Attributes; - CFX_WideStringArray m_TargetData; + std::vector<CFX_WideString> m_Attributes; + std::vector<CFX_WideString> m_TargetData; }; class CFDE_XMLElement : public CFDE_XMLNode { @@ -148,7 +149,7 @@ class CFDE_XMLElement : public CFDE_XMLNode { void SetTextData(const CFX_WideString& wsText); CFX_WideString m_wsTag; - CFX_WideStringArray m_Attributes; + std::vector<CFX_WideString> m_Attributes; }; class CFDE_XMLText : public CFDE_XMLNode { |