summaryrefslogtreecommitdiff
path: root/core/src/fxcrt/fx_basic_coords.cpp
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2015-06-13 00:31:30 -0700
committerLei Zhang <thestig@chromium.org>2015-06-13 00:31:30 -0700
commit4999f914be6c390bbc6d709c5b65d8955a827970 (patch)
treeb98be7bda6310b5c4bd1c5de1018850b4a4a08aa /core/src/fxcrt/fx_basic_coords.cpp
parent7dac05808121e6ac40a9911e71e6391c88432a62 (diff)
downloadpdfium-4999f914be6c390bbc6d709c5b65d8955a827970.tar.xz
Merge to XFA: Cleanup: Remove uses of "this->" in core/
R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1173223002. (cherry picked from commit 2b5e0d5b20654d116045484868c9e015ed698124) Review URL: https://codereview.chromium.org/1186673004.
Diffstat (limited to 'core/src/fxcrt/fx_basic_coords.cpp')
-rw-r--r--core/src/fxcrt/fx_basic_coords.cpp33
1 files changed, 19 insertions, 14 deletions
diff --git a/core/src/fxcrt/fx_basic_coords.cpp b/core/src/fxcrt/fx_basic_coords.cpp
index 496b1443d1..652f62c71c 100644
--- a/core/src/fxcrt/fx_basic_coords.cpp
+++ b/core/src/fxcrt/fx_basic_coords.cpp
@@ -249,23 +249,28 @@ CFX_FloatRect CFX_FloatRect::GetBBox(const CFX_FloatPoint* pPoints, int nPoints)
}
return CFX_FloatRect(min_x, min_y, max_x, max_y);
}
-void CFX_Matrix::Set(FX_FLOAT a, FX_FLOAT b, FX_FLOAT c, FX_FLOAT d, FX_FLOAT e, FX_FLOAT f)
-{
- this->a = a;
- this->b = b;
- this->c = c;
- this->d = d;
- this->e = e;
- this->f = f;
+void CFX_Matrix::Set(FX_FLOAT other_a,
+ FX_FLOAT other_b,
+ FX_FLOAT other_c,
+ FX_FLOAT other_d,
+ FX_FLOAT other_e,
+ FX_FLOAT other_f)
+{
+ a = other_a;
+ b = other_b;
+ c = other_c;
+ d = other_d;
+ e = other_e;
+ f = other_f;
}
void CFX_Matrix::Set(const FX_FLOAT n[6])
{
- this->a = n[0];
- this->b = n[1];
- this->c = n[2];
- this->d = n[3];
- this->e = n[4];
- this->f = n[5];
+ a = n[0];
+ b = n[1];
+ c = n[2];
+ d = n[3];
+ e = n[4];
+ f = n[5];
}
void CFX_Matrix::SetReverse(const CFX_Matrix &m)
{