From 8e156ef6d8a236a49303b12a66ac6cae1ccd567c Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 28 Oct 2014 10:13:11 +0200 Subject: cid#738785 Uninitialized pointer field Change-Id: I5689435a2522e5df64c3798457e4dd2355730236 --- sc/inc/fillinfo.hxx | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/sc/inc/fillinfo.hxx b/sc/inc/fillinfo.hxx index 1db76d9fb2df..2af32c1dd89a 100644 --- a/sc/inc/fillinfo.hxx +++ b/sc/inc/fillinfo.hxx @@ -115,9 +115,9 @@ struct CellInfo : boost::noncopyable ScShadowPart eHShadowPart : 4; // shadow effective for drawing ScShadowPart eVShadowPart : 4; - sal_uInt8 nClipMark; - sal_uInt16 nWidth; - sal_uInt8 nRotateDir; + sal_uInt8 nClipMark; + sal_uInt16 nWidth; + sal_uInt8 nRotateDir; bool bMarked : 1; bool bEmptyCellText : 1; @@ -132,11 +132,6 @@ struct CellInfo : boost::noncopyable bool bHideGrid : 1; // output-internal bool bEditEngine : 1; // output-internal - CellInfo(): - pColorScale(NULL), - pDataBar(NULL), - pIconSet(NULL) {} - ~CellInfo() { delete pColorScale; -- cgit