diff options
author | Oliver Bolte <obo@openoffice.org> | 2006-10-12 14:37:58 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2006-10-12 14:37:58 +0000 |
commit | c3423af5665bacf6134dc3a02285beeaa00feaa9 (patch) | |
tree | bc1271fd8dae56483b1ce238fae98fbd52019d8c /goodies | |
parent | ef8358cfe93d12def7a0a9db385a2d571fbf2581 (diff) |
INTEGRATION: CWS sb59 (1.13.54); FILE MERGED
2006/08/07 14:31:11 sb 1.13.54.1: #i67487# Made code warning-free (wntmsci10).
Diffstat (limited to 'goodies')
-rw-r--r-- | goodies/source/filter.vcl/ipict/ipict.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/goodies/source/filter.vcl/ipict/ipict.cxx b/goodies/source/filter.vcl/ipict/ipict.cxx index 0d131dfc3bff..0a1905aa7049 100644 --- a/goodies/source/filter.vcl/ipict/ipict.cxx +++ b/goodies/source/filter.vcl/ipict/ipict.cxx @@ -4,9 +4,9 @@ * * $RCSfile: ipict.cxx,v $ * - * $Revision: 1.14 $ + * $Revision: 1.15 $ * - * last change: $Author: obo $ $Date: 2006-09-17 15:52:11 $ + * last change: $Author: obo $ $Date: 2006-10-12 15:37:58 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -508,7 +508,7 @@ ULONG PictReader::ReadAndDrawArc(PictDrawingMethod eMethod) ReadRectangle(aLastArcRect); *pPict >> nstartAngle >> narcAngle; if (narcAngle<0) { - nstartAngle+=narcAngle; + nstartAngle = nstartAngle + narcAngle; narcAngle=-narcAngle; } fAng1=((double)nstartAngle)/180.0*3.14159265359; @@ -533,7 +533,7 @@ ULONG PictReader::ReadAndDrawSameArc(PictDrawingMethod eMethod) *pPict >> nstartAngle >> narcAngle; if (narcAngle<0) { - nstartAngle+=narcAngle; + nstartAngle = nstartAngle + narcAngle; narcAngle=-narcAngle; } fAng1=((double)nstartAngle)/180.0*3.14159265359; @@ -654,8 +654,8 @@ ULONG PictReader::ReadPixMapEtc( Bitmap &rBitmap, BOOL bBaseAddr, BOOL bColorTab // PixMap oder Bitmap-Struktur einlesen; *pPict >> nRowBytes >> nBndY >> nBndX >> nHeight >> nWidth; - nHeight -= nBndY; - nWidth -= nBndX; + nHeight = nHeight - nBndY; + nWidth = nWidth - nBndX; if ( ( nRowBytes & 0x8000 ) != 0 ) { // it is a PixMap |