summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-21 21:08:38 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-22 08:43:51 +0100
commit02c8ec2fb27d8abd0905d7548530b9439b890191 (patch)
treea719d6421650c8bac060ce0d8eb1138194201129
parentb08c87db567b471f79621e6929942deee6936984 (diff)
coverity#708066 Uninitialized scalar field
Change-Id: I1ba5f9abf0f20373b4f719ea7ecd404d2fd2efa9
-rw-r--r--sc/source/filter/xml/XMLStylesExportHelper.cxx7
1 files changed, 4 insertions, 3 deletions
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)
{
}