Index: xfa/fxfa/parser/cxfa_text.cpp |
diff --git a/core/fpdfapi/fpdf_parser/cpdf_null.cpp b/xfa/fxfa/parser/cxfa_text.cpp |
similarity index 52% |
copy from core/fpdfapi/fpdf_parser/cpdf_null.cpp |
copy to xfa/fxfa/parser/cxfa_text.cpp |
index c74daf300ff983dc373729199d1b02fbc5e5de0c..fc7d7aa280e2900081d2e05d99d1a5e94fd7bd68 100644 |
--- a/core/fpdfapi/fpdf_parser/cpdf_null.cpp |
+++ b/xfa/fxfa/parser/cxfa_text.cpp |
@@ -4,14 +4,12 @@ |
// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
-#include "core/fpdfapi/fpdf_parser/cpdf_null.h" |
+#include "xfa/fxfa/parser/cxfa_text.h" |
-CPDF_Null::CPDF_Null() {} |
+#include "xfa/fxfa/parser/xfa_object.h" |
-CPDF_Object::Type CPDF_Null::GetType() const { |
- return NULLOBJ; |
-} |
+CXFA_Text::CXFA_Text(CXFA_Node* pNode) : CXFA_Data(pNode) {} |
-CPDF_Object* CPDF_Null::Clone(FX_BOOL bDirect) const { |
- return new CPDF_Null; |
+void CXFA_Text::GetContent(CFX_WideString& wsText) { |
+ m_pNode->TryContent(wsText); |
} |