diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-09-08 14:06:29 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-09-08 14:06:29 +0000 |
commit | 4aec43fac2350a57a1a755db72bb80dbb499b10b (patch) | |
tree | ef833cad849486fa4375ae7da69c81cdc749135f /vcl/source/gdi/outdev2.cxx | |
parent | e4e88a42545d96b4a05b6aac9c1360adce775f49 (diff) |
INTEGRATION: CWS ooo20040704 (1.22.34); FILE MERGED
2004/07/01 11:30:50 waratah 1.22.34.1: #i30874# Add initial values to potentially uninitialised values
Diffstat (limited to 'vcl/source/gdi/outdev2.cxx')
-rw-r--r-- | vcl/source/gdi/outdev2.cxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/vcl/source/gdi/outdev2.cxx b/vcl/source/gdi/outdev2.cxx index 86c650c8eed5..52661f2e7316 100644 --- a/vcl/source/gdi/outdev2.cxx +++ b/vcl/source/gdi/outdev2.cxx @@ -2,9 +2,9 @@ * * $RCSfile: outdev2.cxx,v $ * - * $Revision: 1.23 $ + * $Revision: 1.24 $ * - * last change: $Author: kz $ $Date: 2004-08-31 14:59:14 $ + * last change: $Author: rt $ $Date: 2004-09-08 15:06:29 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1677,7 +1677,9 @@ void OutputDevice::ImplDrawAlpha( const Bitmap& rBmp, const AlphaMask& rAlpha, const long nDstWidth = aDstRect.GetWidth(), nDstHeight = aDstRect.GetHeight(); const long nOutWidth = aOutSz.Width(), nOutHeight = aOutSz.Height(); const long nOffX = aDstRect.Left() - aOutPt.X(), nOffY = aDstRect.Top() - aOutPt.Y(); - long nX, nOutX, nY, nOutY, nMirrOffX, nMirrOffY; + long nX, nOutX, nY, nOutY; + long nMirrOffX = 0; + long nMirrOffY = 0; long* pMapX = new long[ nDstWidth ]; long* pMapY = new long[ nDstHeight ]; |