[Libreoffice-commits] core.git: sc/source
Caolán McNamara
caolanm at redhat.com
Wed Apr 9 07:56:01 PDT 2014
sc/source/ui/view/gridmerg.cxx | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
New commits:
commit f867d3c306e82164ea143d8303dd4c9c79411c93
Author: Caolán McNamara <caolanm at redhat.com>
Date: Wed Apr 9 15:51:57 2014 +0100
coverity#708100 Uninitialized scalar field
Change-Id: I955e0dd7253c19ef7d6dad1c663bbcfd27d2b511
diff --git a/sc/source/ui/view/gridmerg.cxx b/sc/source/ui/view/gridmerg.cxx
index caf7999..da28778 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
More information about the Libreoffice-commits
mailing list