diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-09-08 14:07:34 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-09-08 14:07:34 +0000 |
commit | e7a02a889d705cda07612509e0eed021af0be693 (patch) | |
tree | 4258ff42581949f64190ee9401a3b6e20b5e75f8 /vcl/source/gdi/regband.cxx | |
parent | a3ed85d72edc99ab57f43aac5ad15b034346f13f (diff) |
INTEGRATION: CWS ooo20040704 (1.2.138); FILE MERGED
2004/07/01 12:12:17 waratah 1.2.138.1: #i30874# Add initial values to potentially uninitialised values
Diffstat (limited to 'vcl/source/gdi/regband.cxx')
-rw-r--r-- | vcl/source/gdi/regband.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/vcl/source/gdi/regband.cxx b/vcl/source/gdi/regband.cxx index 89528a6f29d7..91cae2727217 100644 --- a/vcl/source/gdi/regband.cxx +++ b/vcl/source/gdi/regband.cxx @@ -2,9 +2,9 @@ * * $RCSfile: regband.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: vg $ $Date: 2004-01-06 13:54:21 $ + * last change: $Author: rt $ $Date: 2004-09-08 15:07:34 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -118,7 +118,7 @@ ImplRegionBand::ImplRegionBand( const ImplRegionBand& rRegionBand ) // copy all elements of the list with separations ImplRegionBandSep* pNewSep; - ImplRegionBandSep* pPrevSep; + ImplRegionBandSep* pPrevSep = 0; ImplRegionBandSep* pSep = rRegionBand.mpFirstSep; while ( pSep ) { @@ -363,7 +363,7 @@ void ImplRegionBand::ScaleX( double fHorzScale ) BOOL ImplRegionBand::OptimizeBand() { - ImplRegionBandSep* pPrevSep; + ImplRegionBandSep* pPrevSep = 0; ImplRegionBandSep* pSep = mpFirstSep; while ( pSep ) { @@ -421,7 +421,7 @@ void ImplRegionBand::Union( long nXLeft, long nXRight ) // process real union ImplRegionBandSep* pNewSep; - ImplRegionBandSep* pPrevSep; + ImplRegionBandSep* pPrevSep = 0; ImplRegionBandSep* pSep = mpFirstSep; while ( pSep ) { @@ -538,7 +538,7 @@ void ImplRegionBand::Exclude( long nXLeft, long nXRight ) // process real exclusion ImplRegionBandSep* pNewSep; - ImplRegionBandSep* pPrevSep; + ImplRegionBandSep* pPrevSep = 0; ImplRegionBandSep* pSep = mpFirstSep; while ( pSep ) { @@ -622,7 +622,7 @@ void ImplRegionBand::XOr( long nXLeft, long nXRight ) // process real xor ImplRegionBandSep* pNewSep; - ImplRegionBandSep* pPrevSep; + ImplRegionBandSep* pPrevSep = 0; ImplRegionBandSep* pSep = mpFirstSep; while ( pSep ) { |