summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/region.cxx
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2004-09-08 14:07:47 +0000
committerRüdiger Timm <rt@openoffice.org>2004-09-08 14:07:47 +0000
commit8cbe19ee0030bfb2b5abcba2b068053305913dd6 (patch)
tree74c2cb446f3f9e8dd92bc00dc626d2aed35c6044 /vcl/source/gdi/region.cxx
parente7a02a889d705cda07612509e0eed021af0be693 (diff)
INTEGRATION: CWS ooo20040704 (1.6.116); FILE MERGED
2004/07/01 12:15:10 waratah 1.6.116.1: #i30874# Add initial values to potentially uninitialised values
Diffstat (limited to 'vcl/source/gdi/region.cxx')
-rw-r--r--vcl/source/gdi/region.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/vcl/source/gdi/region.cxx b/vcl/source/gdi/region.cxx
index a1f2e7256a9f..e52fdab05f05 100644
--- a/vcl/source/gdi/region.cxx
+++ b/vcl/source/gdi/region.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: region.cxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: hr $ $Date: 2004-02-04 14:42:24 $
+ * last change: $Author: rt $ $Date: 2004-09-08 15:07:47 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -220,7 +220,7 @@ ImplRegion::ImplRegion( const ImplRegion& rImplRegion )
// insert band(s) into the list
ImplRegionBand* pNewBand;
- ImplRegionBand* pPrevBand;
+ ImplRegionBand* pPrevBand = 0;
ImplRegionBand* pBand = rImplRegion.mpFirstBand;
while ( pBand )
{
@@ -710,7 +710,7 @@ BOOL ImplRegion::OptimizeBandList()
mnRectCount = 0;
- ImplRegionBand* pPrevBand;
+ ImplRegionBand* pPrevBand = 0;
ImplRegionBand* pBand = mpFirstBand;
while ( pBand )
{
@@ -1187,7 +1187,7 @@ BOOL Region::Intersect( const Rectangle& rRect )
mpImplRegion->InsertBands( nTop, nBottom );
// process intersections
- ImplRegionBand* pPrevBand;
+ ImplRegionBand* pPrevBand = 0;
ImplRegionBand* pBand = mpImplRegion->mpFirstBand;
while ( pBand )
{
@@ -1460,7 +1460,7 @@ BOOL Region::Intersect( const Region& rRegion )
}
// remove all untouched bands if bands allready left
- ImplRegionBand* pPrevBand;
+ ImplRegionBand* pPrevBand = 0;
pBand = mpImplRegion->mpFirstBand;
while ( pBand )
{