Index: core/fpdfdoc/doc_form.cpp |
diff --git a/core/fpdfdoc/doc_form.cpp b/core/fpdfdoc/doc_form.cpp |
index 6ca40fdaf6c0ae7bf6b61c2b5c4c32c6f810bee4..5062b454524249bbea695e7a2ef4ab61ca5d5fb9 100644 |
--- a/core/fpdfdoc/doc_form.cpp |
+++ b/core/fpdfdoc/doc_form.cpp |
@@ -343,7 +343,7 @@ CFX_ByteString CPDF_InterForm::GenerateNewResourceName( |
CFX_ByteString bsNum; |
while (TRUE) { |
CFX_ByteString csKey = csTmp + bsNum; |
- if (!pDict->KeyExist(csKey.AsStringC())) { |
+ if (!pDict->KeyExist(csKey)) { |
return csKey; |
} |
if (m < iCount) { |