diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-12-28 21:29:53 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-12-28 22:31:26 +0100 |
commit | 4da1a70fe0511172f3cf4a22594a9f94c9c0a73f (patch) | |
tree | 9ac4eb0654306ce9a4bbbcf731d46db4acf51ba1 /starmath | |
parent | 8f0a740bd6ab84c7d95944b448b4ade4f2ce3e89 (diff) |
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 <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/mathmlattr.hxx | 4 |
1 files changed, 4 insertions, 0 deletions
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); |