[Libreoffice-commits] core.git: Branch 'libreoffice-6-0' - starmath/source
Caolán McNamara
caolanm at redhat.com
Sat Dec 30 01:23:49 UTC 2017
starmath/source/mathmlattr.hxx | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 3cd0f7aedc46653ae84db9e460609a814ec9013d
Author: Caolán McNamara <caolanm at redhat.com>
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/47158
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>
diff --git a/starmath/source/mathmlattr.hxx b/starmath/source/mathmlattr.hxx
index f5402546e68e..56144b7b6028 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 *pV);
More information about the Libreoffice-commits
mailing list