diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-09 15:51:57 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-09 15:53:12 +0100 |
commit | f867d3c306e82164ea143d8303dd4c9c79411c93 (patch) | |
tree | bada165600e608459a0ee46f916ac7ee50f7fafe /sc | |
parent | 4a8cf5221f425118a7ec79e0cbf9cb0fb47bf823 (diff) |
coverity#708100 Uninitialized scalar field
Change-Id: I955e0dd7253c19ef7d6dad1c663bbcfd27d2b511
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/view/gridmerg.cxx | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/sc/source/ui/view/gridmerg.cxx b/sc/source/ui/view/gridmerg.cxx index caf79990ae27..da28778fb27e 100644 --- a/sc/source/ui/view/gridmerg.cxx +++ b/sc/source/ui/view/gridmerg.cxx @@ -21,12 +21,16 @@ #include "gridmerg.hxx" -ScGridMerger::ScGridMerger( OutputDevice* pOutDev, long nOnePixelX, long nOnePixelY ) : - pDev( pOutDev ), - nOneX( nOnePixelX ), - nOneY( nOnePixelY ), - nCount( 0 ), - bVertical( false ) +ScGridMerger::ScGridMerger( OutputDevice* pOutDev, long nOnePixelX, long nOnePixelY ) + : pDev(pOutDev) + , nOneX(nOnePixelX) + , nOneY(nOnePixelY) + , nFixStart(0) + , nFixEnd(0) + , nVarStart(0) + , nVarDiff(0) + , nCount(0) + , bVertical(false) { // optimize (DrawGrid) only for pixel MapMode, // to avoid rounding errors |