starmath/source/mathmlattr.hxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 4da1a70fe0511172f3cf4a22594a9f94c9c0a73f
Author: Caolán McNamara <[email protected]>
Date:   Thu Dec 28 21:29:53 2017 +0000

    ofz#4765: Conditional jump or move depends on uninitialised value
    
    Change-Id: Ic8a4fd6cc62c7257f714e2ce2f155f60aa04aa2f
    Reviewed-on: https://gerrit.libreoffice.org/47157
    Reviewed-by: Caolán McNamara <[email protected]>
    Tested-by: Caolán McNamara <[email protected]>

diff --git a/starmath/source/mathmlattr.hxx b/starmath/source/mathmlattr.hxx
index 42948f43ccdf..a794e2f482a6 100644
--- a/starmath/source/mathmlattr.hxx
+++ b/starmath/source/mathmlattr.hxx
@@ -43,6 +43,10 @@ struct MathMLAttributeLengthValue
 {
     Fraction aNumber;
     MathMLLengthUnit eUnit;
+    MathMLAttributeLengthValue()
+        : eUnit(MathMLLengthUnit::None)
+    {
+    }
 };
 
 sal_Int32 ParseMathMLAttributeLengthValue(const OUString &rStr, 
MathMLAttributeLengthValue& rV);
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to