Index: fpdfsdk/fpdf_ext.cpp |
diff --git a/fpdfsdk/fpdf_ext.cpp b/fpdfsdk/fpdf_ext.cpp |
index 484993c6a1db99e9294cef3dcdc71d495443b3cf..a1009c5cdf4cceff895e32f6d5b2c9f6660857b5 100644 |
--- a/fpdfsdk/fpdf_ext.cpp |
+++ b/fpdfsdk/fpdf_ext.cpp |
@@ -104,10 +104,11 @@ FX_BOOL CheckSharedForm(const CXML_Element* pElement, CFX_ByteString cbName) { |
pElement->GetAttrByIndex(i, space, name, value); |
if (space == "xmlns" && name == "adhocwf" && |
value == L"http://ns.adobe.com/AcrobatAdhocWorkflow/1.0/") { |
- CXML_Element* pVersion = pElement->GetElement("adhocwf", cbName); |
+ CXML_Element* pVersion = |
+ pElement->GetElement("adhocwf", cbName.AsByteStringC()); |
if (!pVersion) |
continue; |
- CFX_WideString wsContent = pVersion->GetContent(0); // == 1.1 |
+ CFX_WideString wsContent = pVersion->GetContent(0); |
int nType = wsContent.GetInteger(); |
switch (nType) { |
case 1: |