diff options
Diffstat (limited to 'fpdfsdk/cpdfsdk_helpers.cpp')
-rw-r--r-- | fpdfsdk/cpdfsdk_helpers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpdfsdk/cpdfsdk_helpers.cpp b/fpdfsdk/cpdfsdk_helpers.cpp index 0836325263..87ba9e2ec2 100644 --- a/fpdfsdk/cpdfsdk_helpers.cpp +++ b/fpdfsdk/cpdfsdk_helpers.cpp @@ -248,7 +248,7 @@ void CheckUnSupportError(CPDF_Document* pDoc, uint32_t err_code) { // SharedForm const CPDF_Dictionary* pRoot = pDoc->GetRoot(); if (pRoot) { - CPDF_Stream* pStream = pRoot->GetStreamFor("Metadata"); + const CPDF_Stream* pStream = pRoot->GetStreamFor("Metadata"); if (pStream) { CPDF_Metadata metaData(pStream); for (const auto& err : metaData.CheckForSharedForm()) |