diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-21 20:57:26 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-22 08:43:50 +0100 |
commit | 6e7bebf381197cd592c8906759b221743f77f6d1 (patch) | |
tree | a29eda9d83e90983e7d9730746434fc12da8b7e1 | |
parent | 4eda84aec936ad2f69e466b043e7324f7410c32c (diff) |
coverity#708059 Uninitialized scalar field
Change-Id: If4fc4a05c7ab5414d08b08377716193cbe7432ce
-rw-r--r-- | sc/source/filter/xml/XMLChangeTrackingImportHelper.cxx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sc/source/filter/xml/XMLChangeTrackingImportHelper.cxx b/sc/source/filter/xml/XMLChangeTrackingImportHelper.cxx index 384dc4458f92..9fb21cb029d7 100644 --- a/sc/source/filter/xml/XMLChangeTrackingImportHelper.cxx +++ b/sc/source/filter/xml/XMLChangeTrackingImportHelper.cxx @@ -78,7 +78,8 @@ const ScCellValue& ScMyCellInfo::CreateCell( ScDocument* pDoc ) } ScMyDeleted::ScMyDeleted() - : pCellInfo(NULL) + : nID(0) + , pCellInfo(NULL) { } @@ -88,9 +89,9 @@ ScMyDeleted::~ScMyDeleted() } ScMyGenerated::ScMyGenerated(ScMyCellInfo* pTempCellInfo, const ScBigRange& aTempBigRange) - : aBigRange(aTempBigRange), - nID(0), - pCellInfo(pTempCellInfo) + : aBigRange(aTempBigRange) + , nID(0) + , pCellInfo(pTempCellInfo) { } |