[Libreoffice-commits] core.git: include/basegfx

Tomaž Vajngerl (via logerrit) logerrit at kemper.freedesktop.org
Sun Nov 10 19:09:23 UTC 2019


 include/basegfx/DrawCommands.hxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 88785adc9d816e0e2975489581cb424d08cb082a
Author:     Tomaž Vajngerl <tomaz.vajngerl at collabora.co.uk>
AuthorDate: Sun Nov 10 12:08:36 2019 +0100
Commit:     Tomaž Vajngerl <quikee at gmail.com>
CommitDate: Sun Nov 10 20:08:37 2019 +0100

    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 at gmail.com>

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)
     {
     }
 


More information about the Libreoffice-commits mailing list