Kaydet (Commit) 5d837b24 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#708001 Uninitialized scalar field

Change-Id: Ib8985a3966af4baf3ceb9b46fa250677556afdca
üst d7bb16fd
...@@ -1123,11 +1123,10 @@ void ScDocument::FillInfo( ...@@ -1123,11 +1123,10 @@ void ScDocument::FillInfo(
rArray.MirrorSelfX( true, false ); rArray.MirrorSelfX( true, false );
} }
ScTableInfo::ScTableInfo()
: mpRowInfo(new RowInfo[ROWINFO_MAX])
ScTableInfo::ScTableInfo() : , mnArrCount(0)
mpRowInfo( new RowInfo[ ROWINFO_MAX ] ), , mbPageMode(false)
mbPageMode( false )
{ {
for( sal_uInt16 nIdx = 0; nIdx < ROWINFO_MAX; ++nIdx ) for( sal_uInt16 nIdx = 0; nIdx < ROWINFO_MAX; ++nIdx )
mpRowInfo[ nIdx ].pCellInfo = 0; mpRowInfo[ nIdx ].pCellInfo = 0;
...@@ -1140,6 +1139,4 @@ ScTableInfo::~ScTableInfo() ...@@ -1140,6 +1139,4 @@ ScTableInfo::~ScTableInfo()
delete [] mpRowInfo; delete [] mpRowInfo;
} }
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment