From 2f55999b499fb80ba9987154cfe0c87cf2b8a1e5 Mon Sep 17 00:00:00 2001 From: tsepez Date: Thu, 5 Jan 2017 13:39:50 -0800 Subject: Banish CFX_Points, CFX_PointsF, and CFX_RectFArray to XFA-side only. Removes more array template usage fron non-XFA code. Review-Url: https://codereview.chromium.org/2614013002 --- core/fxcrt/fx_coordinates.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/fxcrt/fx_coordinates.h b/core/fxcrt/fx_coordinates.h index 19abde1921..d8ad4efe48 100644 --- a/core/fxcrt/fx_coordinates.h +++ b/core/fxcrt/fx_coordinates.h @@ -74,8 +74,11 @@ typedef CFX_PSTemplate CFX_Point; typedef CFX_PSTemplate CFX_PointF; typedef CFX_PSTemplate CFX_Size; typedef CFX_PSTemplate CFX_SizeF; + +#ifdef PDF_ENABLE_XFA typedef CFX_ArrayTemplate CFX_Points; typedef CFX_ArrayTemplate CFX_PointsF; +#endif // PDF_ENABLE_XFA template class CFX_VTemplate : public CFX_PSTemplate { @@ -432,7 +435,10 @@ class CFX_RTemplate { }; typedef CFX_RTemplate CFX_Rect; typedef CFX_RTemplate CFX_RectF; + +#ifdef PDF_ENABLE_XFA typedef CFX_ArrayTemplate CFX_RectFArray; +#endif // PDF_ENABLE_XFA class CFX_FloatRect { public: -- cgit v1.2.3