From 1f17bd73afa6b1b79ec4a2f81c995b43d15a9814 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Fri, 25 May 2018 21:47:39 +0000 Subject: Mark more CPDF_Objects as const in font code. Change-Id: Id37333ba61ad0d395055acffd75d4d8be5eb2b3e Reviewed-on: https://pdfium-review.googlesource.com/32911 Commit-Queue: Lei Zhang Reviewed-by: dsinclair --- core/fpdfapi/font/cpdf_font.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/fpdfapi/font/cpdf_font.h') diff --git a/core/fpdfapi/font/cpdf_font.h b/core/fpdfapi/font/cpdf_font.h index cda86e6ea3..a137879891 100644 --- a/core/fpdfapi/font/cpdf_font.h +++ b/core/fpdfapi/font/cpdf_font.h @@ -101,7 +101,7 @@ class CPDF_Font { std::vector* pCharNames, bool bEmbedded, bool bTrueType); - void LoadFontDescriptor(CPDF_Dictionary* pDict); + void LoadFontDescriptor(const CPDF_Dictionary* pDict); void CheckFontMetrics(); const char* GetAdobeCharName(int iBaseEncoding, -- cgit v1.2.3