summaryrefslogtreecommitdiff
path: root/vcl/source/gdi/bitmap2.cxx
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2003-04-24 12:17:58 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2003-04-24 12:17:58 +0000
commit4a309a0645163171f028ad5e725ad281584b2fbe (patch)
tree054f45d3b5c54b89f5f15364688e366caf291eda /vcl/source/gdi/bitmap2.cxx
parentc126eb1f75e2b6f302dbbd09a1b2ab783d5ca2b1 (diff)
INTEGRATION: CWS mav4 (1.3.164); FILE MERGED
2003/04/16 12:22:23 sj 1.3.164.1: #108967# removed forbidden memory access
Diffstat (limited to 'vcl/source/gdi/bitmap2.cxx')
-rw-r--r--vcl/source/gdi/bitmap2.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/gdi/bitmap2.cxx b/vcl/source/gdi/bitmap2.cxx
index 0febc706acd0..6a1e09c70295 100644
--- a/vcl/source/gdi/bitmap2.cxx
+++ b/vcl/source/gdi/bitmap2.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: bitmap2.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: cp $ $Date: 2001-06-28 13:10:36 $
+ * last change: $Author: rt $ $Date: 2003-04-24 13:17:58 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1155,7 +1155,7 @@ BOOL Bitmap::ImplWriteRLE( SvStream& rOStm, BitmapReadAccess& rAcc, BOOL bRLE4 )
ULONG nSaveIndex;
ULONG nCount;
ULONG nBufCount;
- BYTE* pBuf = new BYTE[ nWidth << 1 ];
+ BYTE* pBuf = new BYTE[ ( nWidth << 1 ) + 2 ];
BYTE* pTmp;
BYTE cPix;
BYTE cLast;