diff options
author | Caolán McNamara <caolanm@redhat.com> | 2021-08-28 10:07:49 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2021-08-29 12:58:19 +0200 |
commit | ad33f461929e99b496869b831f83159bfb7ac40f (patch) | |
tree | 6538d960cc4e12352d6771c00c014e5ada4e80e0 /sc | |
parent | 7362351b62b0f3c2967e11b96b9c55a94ee68925 (diff) |
ofz: MemorySanitizer: use-of-uninitialized-value
Change-Id: I136816837eddcb1bf81c23b6f4fcfa65e9335629
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121187
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/xml/XMLConverter.hxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sc/source/filter/xml/XMLConverter.hxx b/sc/source/filter/xml/XMLConverter.hxx index 52d0f2ba77cc..76e0fcad8c11 100644 --- a/sc/source/filter/xml/XMLConverter.hxx +++ b/sc/source/filter/xml/XMLConverter.hxx @@ -127,6 +127,14 @@ struct ScXMLConditionParseResult OUString maOperand1; /// First operand of the token or comparison value. OUString maOperand2; /// Second operand of 'between' conditions. sal_Int32 mnEndIndex; /// Index of first character following the condition. + + ScXMLConditionParseResult() + : meToken(XML_COND_INVALID) + , meValidation(css::sheet::ValidationType_ANY) + , meOperator(css::sheet::ConditionOperator_NONE) + , mnEndIndex(-1) + { + } }; namespace ScXMLConditionHelper |