Index: xfa/src/fdp/src/xml/fde_xml_imp.cpp |
diff --git a/xfa/src/fdp/src/xml/fde_xml_imp.cpp b/xfa/src/fdp/src/xml/fde_xml_imp.cpp |
index 6304254feb4567cb64c9f86e5b0ab2279c4e4cb3..91486eb29bfcbfc01522f6f99eb7db0dbef78e0d 100644 |
--- a/xfa/src/fdp/src/xml/fde_xml_imp.cpp |
+++ b/xfa/src/fdp/src/xml/fde_xml_imp.cpp |
@@ -10,15 +10,16 @@ |
#include "xfa/src/fgas/include/fx_cpg.h" |
#include "xfa/src/fgas/include/fx_sys.h" |
-#include "xfa/src/foxitlib.h" |
#define FDE_XMLVALIDCHARRANGENUM 5 |
-static FX_WCHAR g_XMLValidCharRange[FDE_XMLVALIDCHARRANGENUM][2] = { |
+ |
+static const FX_WCHAR g_XMLValidCharRange[FDE_XMLVALIDCHARRANGENUM][2] = { |
{0x09, 0x09}, |
{0x0A, 0x0A}, |
{0x0D, 0x0D}, |
{0x20, 0xD7FF}, |
{0xE000, 0xFFFD}}; |
+ |
FX_BOOL FDE_IsXMLValidChar(FX_WCHAR ch) { |
int32_t iStart = 0, iEnd = FDE_XMLVALIDCHARRANGENUM - 1, iMid; |
while (iStart <= iEnd) { |