diff options
author | Ralf Sippl <ralf.sippl@gmail.com> | 2018-04-12 21:20:26 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-04-12 21:20:26 +0000 |
commit | 1638179e85863b5045fcea2282fd3e0622aeac13 (patch) | |
tree | e21cc4c409ed04ccb4496f17c4edcc0d8f586cdc /core/fpdfdoc/cpdf_annot.cpp | |
parent | c9f4f0dbcaaf9e86ef2b64c844b094bd2f6b1a92 (diff) | |
download | pdfium-1638179e85863b5045fcea2282fd3e0622aeac13.tar.xz |
Add index parameter to quadpoints getter and setter.
This is needed for working with multiline text markup
annotations.
Based on https://pdfium-review.googlesource.com/12012.
Bug: pdfium:1045
Change-Id: Ifb105996b8b950bb2d5fceaf754b4f571155aef4
Reviewed-on: https://pdfium-review.googlesource.com/29150
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'core/fpdfdoc/cpdf_annot.cpp')
-rw-r--r-- | core/fpdfdoc/cpdf_annot.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fpdfdoc/cpdf_annot.cpp b/core/fpdfdoc/cpdf_annot.cpp index 42bda6e319..ef803c428d 100644 --- a/core/fpdfdoc/cpdf_annot.cpp +++ b/core/fpdfdoc/cpdf_annot.cpp @@ -229,7 +229,7 @@ CFX_FloatRect CPDF_Annot::RectFromQuadPointsArray(const CPDF_Array* pArray, // static CFX_FloatRect CPDF_Annot::BoundingRectFromQuadPoints( - CPDF_Dictionary* pAnnotDict) { + const CPDF_Dictionary* pAnnotDict) { CPDF_Array* pArray = pAnnotDict->GetArrayFor("QuadPoints"); if (!pArray) return CFX_FloatRect(); |