summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorEike Rathke <erack@redhat.com>2014-10-31 17:04:44 +0100
committerEike Rathke <erack@redhat.com>2014-10-31 17:10:22 +0100
commit32bbe44e894a6575899418cff88f0ccdd5dae393 (patch)
tree9e812318a6100388a043bfbaa8f041795cabd50f /sc
parent6606313d6e69fbab7841f60de8bc152ce605e46b (diff)
eliminate duplicated initialization
RowInfo.pCellInfo is already initialized by ctor. Found while investigating coverity#707985 Uninitialized scalar field Change-Id: Ibb41032674ce5f07ed855a62d76648526d09a1ad
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/fillinfo.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/sc/source/core/data/fillinfo.cxx b/sc/source/core/data/fillinfo.cxx
index b7be16289397..0811290adf63 100644
--- a/sc/source/core/data/fillinfo.cxx
+++ b/sc/source/core/data/fillinfo.cxx
@@ -1120,8 +1120,6 @@ ScTableInfo::ScTableInfo()
, mnArrCount(0)
, mbPageMode(false)
{
- for( sal_uInt16 nIdx = 0; nIdx < ROWINFO_MAX; ++nIdx )
- mpRowInfo[ nIdx ].pCellInfo = 0;
}
ScTableInfo::~ScTableInfo()