diff options
author | tsepez <tsepez@chromium.org> | 2017-01-24 06:12:34 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2017-01-24 06:12:34 -0800 |
commit | 3d328767f9c0c04b62173aac03c35aab3fb87ffe (patch) | |
tree | 18a1a71ee987831e427b0dd62d26745861258a22 /xfa/fde/ifde_txtedtpage.h | |
parent | e73fea598f088151213fb11100798c615543ca2f (diff) | |
download | pdfium-3d328767f9c0c04b62173aac03c35aab3fb87ffe.tar.xz |
Use std::vector for CFX_RectF arrays
Review-Url: https://codereview.chromium.org/2653743002
Diffstat (limited to 'xfa/fde/ifde_txtedtpage.h')
-rw-r--r-- | xfa/fde/ifde_txtedtpage.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xfa/fde/ifde_txtedtpage.h b/xfa/fde/ifde_txtedtpage.h index ecc7d1699e..0ab3897b3c 100644 --- a/xfa/fde/ifde_txtedtpage.h +++ b/xfa/fde/ifde_txtedtpage.h @@ -7,6 +7,8 @@ #ifndef XFA_FDE_IFDE_TXTEDTPAGE_H_ #define XFA_FDE_IFDE_TXTEDTPAGE_H_ +#include <vector> + #include "xfa/fde/fde_visualset.h" #include "xfa/fgas/layout/fgas_textbreak.h" @@ -24,7 +26,7 @@ class IFDE_TxtEdtPage : public IFDE_CanvasSet, public IFX_TxtAccess { virtual int32_t GetCharIndex(const CFX_PointF& fPoint, bool& bBefore) = 0; virtual void CalcRangeRectArray(int32_t nStart, int32_t nCount, - CFX_RectFArray& RectFArr) const = 0; + std::vector<CFX_RectF>* RectFArr) const = 0; virtual int32_t SelectWord(const CFX_PointF& fPoint, int32_t& nCount) = 0; virtual int32_t GetCharStart() const = 0; virtual int32_t GetCharCount() const = 0; |