summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/include/fpdfdoc/fpdf_doc.h1
-rw-r--r--core/src/fpdfapi/fpdf_basic_module.cpp2
-rw-r--r--core/src/fpdfdoc/doc_metadata.cpp2
3 files changed, 1 insertions, 4 deletions
diff --git a/core/include/fpdfdoc/fpdf_doc.h b/core/include/fpdfdoc/fpdf_doc.h
index 13c52433cd..7b430642d5 100644
--- a/core/include/fpdfdoc/fpdf_doc.h
+++ b/core/include/fpdfdoc/fpdf_doc.h
@@ -1161,7 +1161,6 @@ class CPDF_Metadata {
const CXML_Element* GetRoot() const;
private:
- CPDF_Document* const m_pDoc; // Not owned.
nonstd::unique_ptr<CXML_Element> m_pXmlElement;
};
diff --git a/core/src/fpdfapi/fpdf_basic_module.cpp b/core/src/fpdfapi/fpdf_basic_module.cpp
index 198f1318be..37ad62f402 100644
--- a/core/src/fpdfapi/fpdf_basic_module.cpp
+++ b/core/src/fpdfapi/fpdf_basic_module.cpp
@@ -11,8 +11,6 @@ namespace {
CPDF_ModuleMgr* g_FPDFAPI_pDefaultMgr = nullptr;
-const char kAddinNameCJK[] = "Eastern Asian Language Support";
-
} // namespace
// static
diff --git a/core/src/fpdfdoc/doc_metadata.cpp b/core/src/fpdfdoc/doc_metadata.cpp
index c779f68354..3d0f12f3de 100644
--- a/core/src/fpdfdoc/doc_metadata.cpp
+++ b/core/src/fpdfdoc/doc_metadata.cpp
@@ -7,7 +7,7 @@
#include "../../include/fpdfdoc/fpdf_doc.h"
#include "../../include/fxcrt/fx_xml.h"
-CPDF_Metadata::CPDF_Metadata(CPDF_Document* pDoc) : m_pDoc(pDoc) {
+CPDF_Metadata::CPDF_Metadata(CPDF_Document* pDoc) {
CPDF_Dictionary* pRoot = pDoc->GetRoot();
if (!pRoot)
return;