Index: xfa/fxfa/parser/cxfa_tooltip.cpp |
diff --git a/core/fpdfapi/fpdf_parser/cpdf_null.cpp b/xfa/fxfa/parser/cxfa_tooltip.cpp |
similarity index 50% |
copy from core/fpdfapi/fpdf_parser/cpdf_null.cpp |
copy to xfa/fxfa/parser/cxfa_tooltip.cpp |
index c74daf300ff983dc373729199d1b02fbc5e5de0c..079b365e468eb1d1e8c87ffb0623474861c06af2 100644 |
--- a/core/fpdfapi/fpdf_parser/cpdf_null.cpp |
+++ b/xfa/fxfa/parser/cxfa_tooltip.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_tooltip.h" |
-CPDF_Null::CPDF_Null() {} |
+#include "xfa/fxfa/parser/xfa_object.h" |
-CPDF_Object::Type CPDF_Null::GetType() const { |
- return NULLOBJ; |
-} |
+CXFA_ToolTip::CXFA_ToolTip(CXFA_Node* pNode) : CXFA_Data(pNode) {} |
-CPDF_Object* CPDF_Null::Clone(FX_BOOL bDirect) const { |
- return new CPDF_Null; |
+FX_BOOL CXFA_ToolTip::GetTip(CFX_WideString& wsTip) { |
+ return m_pNode->TryContent(wsTip); |
} |