summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-04-22 10:59:25 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-04-22 11:39:22 +0100
commit0060649399eb130848a79b224ddc39a81721249b (patch)
treeb30c6e1ca3e600e707d92c64648b06c56d0ab94b
parentd52b0640f413521a782673834f1142bcf3053e70 (diff)
coverity#708389 Uninitialized scalar field
Change-Id: If4b05a34b77cc0b6366880ad65132e801b297a62
-rw-r--r--svx/source/table/tableundo.hxx12
1 files changed, 11 insertions, 1 deletions
diff --git a/svx/source/table/tableundo.hxx b/svx/source/table/tableundo.hxx
index 2b5779cc1365..85c7978a1c42 100644
--- a/svx/source/table/tableundo.hxx
+++ b/svx/source/table/tableundo.hxx
@@ -67,7 +67,17 @@ private:
::sal_Int32 mnRowSpan;
::sal_Int32 mnColSpan;
- Data() : mpProperties(NULL), mpOutlinerParaObject(NULL), mfValue(0) {};
+ Data()
+ : mpProperties(NULL)
+ , mpOutlinerParaObject(NULL)
+ , mnCellContentType(CellContentType_EMPTY)
+ , mfValue(0)
+ , mnError(0)
+ , mbMerged(false)
+ , mnRowSpan(0)
+ , mnColSpan(0)
+ {
+ }
};
void setDataToCell( const Data& rData );