diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-08 10:33:07 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-08 12:18:53 +0100 |
commit | 8f2405dd5b63bb04cd34df51c350f31d771d9c55 (patch) | |
tree | ec04c826167384b61cea5f857e9a1df42b1178e9 | |
parent | 001f44a7ca1c22ea386a4737e55b3ada1eefad78 (diff) |
coverity#738796 Uninitialized scalar field
Change-Id: I241b6cfba1e28d89c4517cf121f8465fd84f5adc
-rw-r--r-- | sc/source/filter/oox/commentsbuffer.cxx | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/sc/source/filter/oox/commentsbuffer.cxx b/sc/source/filter/oox/commentsbuffer.cxx index b52a3769f02c..7fe06e0cebb4 100644 --- a/sc/source/filter/oox/commentsbuffer.cxx +++ b/sc/source/filter/oox/commentsbuffer.cxx @@ -81,10 +81,17 @@ static sal_Int32 lcl_ToVertAlign( sal_Int32 nAlign ) } } -CommentModel::CommentModel() : - mnAuthorId( -1 ), - mnObjId( BIFF_OBJ_INVALID_ID ), - mbVisible( false ) +CommentModel::CommentModel() + : mnAuthorId(-1) + , mnObjId(BIFF_OBJ_INVALID_ID) + , mbAutoFill(false) + , mbAutoScale(false) + , mbColHidden(false) + , mbLocked(false) + , mbRowHidden(false) + , mnTHA(0) + , mnTVA(0) + , mbVisible( false ) { } |