From 02c8ec2fb27d8abd0905d7548530b9439b890191 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 21 Apr 2014 21:08:38 +0100 Subject: coverity#708066 Uninitialized scalar field Change-Id: I1ba5f9abf0f20373b4f719ea7ecd404d2fd2efa9 --- sc/source/filter/xml/XMLStylesExportHelper.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sc') diff --git a/sc/source/filter/xml/XMLStylesExportHelper.cxx b/sc/source/filter/xml/XMLStylesExportHelper.cxx index 2771195f21a7..156650552783 100644 --- a/sc/source/filter/xml/XMLStylesExportHelper.cxx +++ b/sc/source/filter/xml/XMLStylesExportHelper.cxx @@ -690,9 +690,10 @@ void ScRowFormatRanges::Sort() ScMyFormatRange::ScMyFormatRange() - : nStyleNameIndex(-1), - nValidationIndex(-1), - bIsAutoStyle(true) + : nStyleNameIndex(-1) + , nValidationIndex(-1) + , nNumberFormat(0) + , bIsAutoStyle(true) { } -- cgit