[Libreoffice-commits] core.git: Branch 'libreoffice-7-1' - sc/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Mon Aug 30 09:46:43 UTC 2021
sc/source/filter/xml/XMLConverter.hxx | 8 ++++++++
1 file changed, 8 insertions(+)
New commits:
commit 3bc4beb1254df9e68339aad6f4f9646f2c5a1b9f
Author: Caolán McNamara <caolanm at redhat.com>
AuthorDate: Sat Aug 28 10:07:49 2021 +0100
Commit: Michael Stahl <michael.stahl at allotropia.de>
CommitDate: Mon Aug 30 11:46:08 2021 +0200
ofz: MemorySanitizer: use-of-uninitialized-value
Change-Id: I136816837eddcb1bf81c23b6f4fcfa65e9335629
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/121156
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl at allotropia.de>
diff --git a/sc/source/filter/xml/XMLConverter.hxx b/sc/source/filter/xml/XMLConverter.hxx
index 2f8c08383353..cbe5ec8b4b0f 100644
--- a/sc/source/filter/xml/XMLConverter.hxx
+++ b/sc/source/filter/xml/XMLConverter.hxx
@@ -128,6 +128,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