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..d6c20ebd5178b37457d3f5a7917f73764fe38575 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] = { |
Tom Sepez
2016/02/29 19:22:30
nit: const while you're at it.
dsinclair
2016/02/29 19:52:03
Done.
|
{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) { |