summaryrefslogtreecommitdiff
path: root/include/basegfx
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-14 10:57:28 +0100
commit333ed807b2aa425a51126ec9ff912528c29c787b (patch)
treee0b8ace6cf0fc1503a47c79dde84f138a785356f /include/basegfx
parentaa3240f97b5cd018013dae20bbb01d47dca67290 (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> (cherry picked from commit 88785adc9d816e0e2975489581cb424d08cb082a) Reviewed-on: https://gerrit.libreoffice.org/82637 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
Diffstat (limited to 'include/basegfx')
-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 d7d861f9effd..df705e28a540 100644
--- a/include/basegfx/DrawCommands.hxx
+++ b/include/basegfx/DrawCommands.hxx
@@ -67,6 +67,10 @@ class LinearGradientInfo : public GradientInfo
public:
LinearGradientInfo()
: GradientInfo(GradientType::Linear)
+ , x1(0.0)
+ , y1(0.0)
+ , x2(0.0)
+ , y2(0.0)
{
}