summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2019-11-10 12:08:36 +0100
committerTomaž Vajngerl <quikee@gmail.com>2019-11-10 20:08:37 +0100
commit88785adc9d816e0e2975489581cb424d08cb082a (patch)
tree400d4192a41de5a11e0903da9b01a6a2dffc7a19 /include
parentcd8eb77fa5e258f09b2e2950111b1473ffde6408 (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')
-rw-r--r--include/basegfx/DrawCommands.hxx4
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)
{
}