diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2019-11-10 12:08:36 +0100 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2019-11-10 20:08:37 +0100 |
commit | 88785adc9d816e0e2975489581cb424d08cb082a (patch) | |
tree | 400d4192a41de5a11e0903da9b01a6a2dffc7a19 /include/basegfx | |
parent | cd8eb77fa5e258f09b2e2950111b1473ffde6408 (diff) |
cid#1455328 initialize variables to 0.0 in LinearGradientInfo
Change-Id: I7232f5406ca019fa0634a7b6a69536c87ba46430
Reviewed-on: https://gerrit.libreoffice.org/82380
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include/basegfx')
-rw-r--r-- | include/basegfx/DrawCommands.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/basegfx/DrawCommands.hxx b/include/basegfx/DrawCommands.hxx index ae898ff51cd6..e9e3b935b8cf 100644 --- a/include/basegfx/DrawCommands.hxx +++ b/include/basegfx/DrawCommands.hxx @@ -66,6 +66,10 @@ class LinearGradientInfo : public GradientInfo public: LinearGradientInfo() : GradientInfo(GradientType::Linear) + , x1(0.0) + , y1(0.0) + , x2(0.0) + , y2(0.0) { } |