summaryrefslogtreecommitdiff
path: root/fpdfsdk/formfiller
diff options
context:
space:
mode:
Diffstat (limited to 'fpdfsdk/formfiller')
-rw-r--r--fpdfsdk/formfiller/cffl_formfiller.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/fpdfsdk/formfiller/cffl_formfiller.cpp b/fpdfsdk/formfiller/cffl_formfiller.cpp
index e0d02d0f4c..f682122083 100644
--- a/fpdfsdk/formfiller/cffl_formfiller.cpp
+++ b/fpdfsdk/formfiller/cffl_formfiller.cpp
@@ -456,15 +456,11 @@ CFX_FloatRect CFFL_FormFiller::GetFocusBox(CPDFSDK_PageView* pPageView) {
}
CFX_FloatRect CFFL_FormFiller::FFLtoPWL(const CFX_FloatRect& rect) {
- CFX_FloatRect temp = rect;
- GetCurMatrix().GetInverse().TransformRect(temp);
- return temp;
+ return GetCurMatrix().GetInverse().TransformRect(rect);
}
CFX_FloatRect CFFL_FormFiller::PWLtoFFL(const CFX_FloatRect& rect) {
- CFX_FloatRect temp = rect;
- GetCurMatrix().TransformRect(temp);
- return temp;
+ return GetCurMatrix().TransformRect(rect);
}
CFX_PointF CFFL_FormFiller::FFLtoPWL(const CFX_PointF& point) {