Index: fpdfsdk/fpdfview.cpp |
diff --git a/fpdfsdk/fpdfview.cpp b/fpdfsdk/fpdfview.cpp |
index 7f2faa09473513ce67e3f4c0242e6ebb598491c1..3ab81fe1124321bd4f4e355aad20bdc1310eab5a 100644 |
--- a/fpdfsdk/fpdfview.cpp |
+++ b/fpdfsdk/fpdfview.cpp |
@@ -1104,7 +1104,7 @@ DLLEXPORT FPDF_DEST STDCALL FPDF_GetNamedDest(FPDF_DOCUMENT document, |
int i = 0; |
for (const auto& it : *pDest) { |
bsName = it.first; |
- pDestObj = it.second.get(); |
+ pDestObj = it.second; |
if (!pDestObj) |
continue; |
if (i == index) |