Remove CPDF_Dest::GetRemoteName().

It is not called, which is just as well since it would at best
return an empty string from applying GetString() to an array
object that can not be converted to string.

Change-Id: I6cb2b59c59f42e88139a19b32a52c5aa29dc3b0c
Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/65690
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Tom Sepez <tsepez@chromium.org>
diff --git a/core/fpdfdoc/cpdf_dest.cpp b/core/fpdfdoc/cpdf_dest.cpp
index 601f85d..1a07acf 100644
--- a/core/fpdfdoc/cpdf_dest.cpp
+++ b/core/fpdfdoc/cpdf_dest.cpp
@@ -130,7 +130,3 @@
 float CPDF_Dest::GetParam(int index) const {
   return m_pArray ? m_pArray->GetNumberAt(2 + index) : 0;
 }
-
-ByteString CPDF_Dest::GetRemoteName() const {
-  return m_pArray ? m_pArray->GetString() : ByteString();
-}
diff --git a/core/fpdfdoc/cpdf_dest.h b/core/fpdfdoc/cpdf_dest.h
index 2de1263..c215634 100644
--- a/core/fpdfdoc/cpdf_dest.h
+++ b/core/fpdfdoc/cpdf_dest.h
@@ -22,8 +22,6 @@
   ~CPDF_Dest();
 
   const CPDF_Array* GetArray() const { return m_pArray.Get(); }
-
-  ByteString GetRemoteName() const;
   int GetDestPageIndex(CPDF_Document* pDoc) const;
 
   // Returns the zoom mode, as one of the PDFDEST_VIEW_* values in fpdf_doc.h.