diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-10-28 11:28:45 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-10-28 11:32:19 +0100 |
commit | 27dcfc03c1f9f08111102e54191ecd8aacd6b09f (patch) | |
tree | 53135a75ee57aff1c89d67e1c7d130a925e88b0e /sc/inc/fillinfo.hxx | |
parent | cb67f0c5f9424fc085c4169211bda7e36cfbd904 (diff) |
Revert "cid#738785 Uninitialized pointer field"
This reverts commit 8e156ef6d8a236a49303b12a66ac6cae1ccd567c,
those members apparently need to be initialized to null.
Diffstat (limited to 'sc/inc/fillinfo.hxx')
-rw-r--r-- | sc/inc/fillinfo.hxx | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/sc/inc/fillinfo.hxx b/sc/inc/fillinfo.hxx index 2af32c1dd89a..1db76d9fb2df 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,6 +132,11 @@ struct CellInfo : boost::noncopyable bool bHideGrid : 1; // output-internal bool bEditEngine : 1; // output-internal + CellInfo(): + pColorScale(NULL), + pDataBar(NULL), + pIconSet(NULL) {} + ~CellInfo() { delete pColorScale; |