[Libreoffice-commits] core.git: sc/source
Caolán McNamara
caolanm at redhat.com
Mon Jan 2 20:52:52 UTC 2017
sc/source/filter/excel/xeescher.cxx | 19 +++++++++++++------
1 file changed, 13 insertions(+), 6 deletions(-)
New commits:
commit aa35ca9721561fda838ceeb60148d0758a4772a4
Author: Caolán McNamara <caolanm at redhat.com>
Date: Mon Jan 2 20:52:03 2017 +0000
coverity#1103741 Uninitialized scalar field
Change-Id: I22a960e1170339aaf7939c0c5823dd1a53ae040f
diff --git a/sc/source/filter/excel/xeescher.cxx b/sc/source/filter/excel/xeescher.cxx
index 11c8647..3e179d2 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;
More information about the Libreoffice-commits
mailing list