Index: core/fpdfdoc/cpdf_formcontrol.cpp |
diff --git a/core/fpdfdoc/cpdf_formcontrol.cpp b/core/fpdfdoc/cpdf_formcontrol.cpp |
index 7bb9c832baecbe9d80c82c4e280cf8812473af35..d0b4a2dcedce981e1b197beaf2bc0b1aa9460f4e 100644 |
--- a/core/fpdfdoc/cpdf_formcontrol.cpp |
+++ b/core/fpdfdoc/cpdf_formcontrol.cpp |
@@ -68,7 +68,7 @@ void CPDF_FormControl::SetOnStateName(const CFX_ByteString& csOn) { |
return; |
for (const auto& it : *pAP) { |
- CPDF_Object* pObj1 = it.second.get(); |
+ CPDF_Object* pObj1 = it.second; |
if (!pObj1) |
continue; |
@@ -80,7 +80,7 @@ void CPDF_FormControl::SetOnStateName(const CFX_ByteString& csOn) { |
auto subdict_it = pSubDict->begin(); |
while (subdict_it != pSubDict->end()) { |
const CFX_ByteString& csKey2 = subdict_it->first; |
- CPDF_Object* pObj2 = subdict_it->second.get(); |
+ CPDF_Object* pObj2 = subdict_it->second; |
++subdict_it; |
if (!pObj2) |
continue; |