diff options
author | Caolán McNamara <caolanm@redhat.com> | 2017-01-02 20:52:03 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2017-01-02 20:52:03 +0000 |
commit | aa35ca9721561fda838ceeb60148d0758a4772a4 (patch) | |
tree | 125b809e862ee8a6c23d5d0eaca56150452d7d34 | |
parent | 08a323d016df4c3b15c44e11f65f9bf264ad10ea (diff) |
coverity#1103741 Uninitialized scalar field
Change-Id: I22a960e1170339aaf7939c0c5823dd1a53ae040f
-rw-r--r-- | sc/source/filter/excel/xeescher.cxx | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/sc/source/filter/excel/xeescher.cxx b/sc/source/filter/excel/xeescher.cxx index 11c8647ebf79..3e179d247b3f 100644 --- a/sc/source/filter/excel/xeescher.cxx +++ b/sc/source/filter/excel/xeescher.cxx @@ -1152,12 +1152,19 @@ const css::uno::Reference<css::chart::XChartDocument>& XclExpChartObj::GetChartD return mxChartDoc; } -XclExpNote::XclExpNote( const XclExpRoot& rRoot, const ScAddress& rScPos, - const ScPostIt* pScNote, const OUString& rAddText ) : - XclExpRecord( EXC_ID_NOTE ), - maScPos( rScPos ), - mnObjId( EXC_OBJ_INVALID_ID ), - mbVisible( pScNote && pScNote->IsCaptionShown() ) +XclExpNote::XclExpNote(const XclExpRoot& rRoot, const ScAddress& rScPos, + const ScPostIt* pScNote, const OUString& rAddText) + : XclExpRecord(EXC_ID_NOTE) + , maScPos(rScPos) + , mnObjId(EXC_OBJ_INVALID_ID) + , mbVisible(pScNote && pScNote->IsCaptionShown()) + , meTHA(SDRTEXTHORZADJUST_LEFT) + , meTVA(SDRTEXTVERTADJUST_TOP) + , mbAutoScale(false) + , mbLocked(false) + , mbAutoFill(false) + , mbColHidden(false) + , mbRowHidden(false) { // get the main note text OUString aNoteText; |