summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-04 10:58:43 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-04 12:14:22 +0100
commit9cddd4dc1e7e326498f3965df31981faf73a46ff (patch)
tree4ea69663fbb2f8f1ca2610935fd592773515c978 /sc
parent727752e1297ffe7a9f428162b284e082d51c36ec (diff)
coverity#707961 Uninitialized scalar field
Change-Id: I86bcdd6cda589e42fb18a33002092d87c6d3a2d4
Diffstat (limited to 'sc')
-rw-r--r--sc/source/filter/oox/stylesbuffer.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/sc/source/filter/oox/stylesbuffer.cxx b/sc/source/filter/oox/stylesbuffer.cxx
index 842c168c992b..28d32c00954e 100644
--- a/sc/source/filter/oox/stylesbuffer.cxx
+++ b/sc/source/filter/oox/stylesbuffer.cxx
@@ -399,8 +399,9 @@ static const sal_Int32 spnDefColors8[] =
-ColorPalette::ColorPalette( const WorkbookHelper& rHelper ) :
- WorkbookHelper( rHelper )
+ColorPalette::ColorPalette( const WorkbookHelper& rHelper )
+ : WorkbookHelper(rHelper)
+ , mnAppendIndex(0)
{
// default colors
switch( getFilterType() )