diff options
author | Tom Sepez <tsepez@chromium.org> | 2016-02-17 16:58:49 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2016-02-17 16:58:49 -0800 |
commit | dee2d7ba656cdf8111f879485146e0900630826a (patch) | |
tree | 3ea64c42d591456fedcf3e3cdd9d4f12dcdf1e18 /core/src/fpdfapi/fpdf_render | |
parent | 1e1d3b0f2bc6b6c185b37e0aa6b8663e901dc8bf (diff) | |
download | pdfium-dee2d7ba656cdf8111f879485146e0900630826a.tar.xz |
Banish CFX_ObjectArray to the XFA side.
Tidy whitespace, add missing consts in a few places. Remove
a few pointless typedefs.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1707953002 .
Diffstat (limited to 'core/src/fpdfapi/fpdf_render')
-rw-r--r-- | core/src/fpdfapi/fpdf_render/fpdf_render.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/src/fpdfapi/fpdf_render/fpdf_render.cpp b/core/src/fpdfapi/fpdf_render/fpdf_render.cpp index 147de51f4d..8e205df281 100644 --- a/core/src/fpdfapi/fpdf_render/fpdf_render.cpp +++ b/core/src/fpdfapi/fpdf_render/fpdf_render.cpp @@ -1332,7 +1332,7 @@ FX_BOOL IPDF_OCContext::CheckObjectVisible(const CPDF_PageObject* pObj) { const CPDF_ContentMarkData* pData = pObj->m_ContentMark; int nItems = pData->CountItems(); for (int i = 0; i < nItems; i++) { - CPDF_ContentMarkItem& item = pData->GetItem(i); + const CPDF_ContentMarkItem& item = pData->GetItem(i); if (item.GetName() == "OC" && item.GetParamType() == CPDF_ContentMarkItem::PropertiesDict && !CheckOCGVisible(item.GetParam())) { |