Remove unused CPVT_VariableText::OutToIn(). Change-Id: I78eeef03d9bb2fe848a9f110ec9deb94b67f3c40 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/85870 Auto-Submit: Lei Zhang <thestig@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org>
diff --git a/core/fpdfdoc/cpvt_variabletext.cpp b/core/fpdfdoc/cpvt_variabletext.cpp index f453543..9dff62a 100644 --- a/core/fpdfdoc/cpvt_variabletext.cpp +++ b/core/fpdfdoc/cpvt_variabletext.cpp
@@ -892,10 +892,3 @@ return CFX_FloatRect(ptLeftTop.x, ptRightBottom.y, ptRightBottom.x, ptLeftTop.y); } - -CPVT_FloatRect CPVT_VariableText::OutToIn(const CFX_FloatRect& rect) const { - CFX_PointF ptLeftTop = OutToIn(CFX_PointF(rect.left, rect.top)); - CFX_PointF ptRightBottom = OutToIn(CFX_PointF(rect.right, rect.bottom)); - return CPVT_FloatRect(ptLeftTop.x, ptLeftTop.y, ptRightBottom.x, - ptRightBottom.y); -}
diff --git a/core/fpdfdoc/cpvt_variabletext.h b/core/fpdfdoc/cpvt_variabletext.h index 271151c..4709728 100644 --- a/core/fpdfdoc/cpvt_variabletext.h +++ b/core/fpdfdoc/cpvt_variabletext.h
@@ -137,7 +137,6 @@ CFX_PointF InToOut(const CFX_PointF& point) const; CFX_PointF OutToIn(const CFX_PointF& point) const; CFX_FloatRect InToOut(const CPVT_FloatRect& rect) const; - CPVT_FloatRect OutToIn(const CFX_FloatRect& rect) const; float GetFontAscent(int32_t nFontIndex, float fFontSize) const; float GetFontDescent(int32_t nFontIndex, float fFontSize) const;