[Libreoffice-commits] core.git: sc/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Sun Aug 29 10:58:52 UTC 2021
sc/source/filter/xml/XMLConverter.hxx | 8 ++++++++
1 file changed, 8 insertions(+)
New commits:
commit ad33f461929e99b496869b831f83159bfb7ac40f
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat Aug 28 10:07:49 2021 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Sun Aug 29 12:58:19 2021 +0200
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 at redhat.com>
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
More information about the Libreoffice-commits
mailing list