summaryrefslogtreecommitdiff
path: root/goodies
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2006-10-12 14:37:58 +0000
committerOliver Bolte <obo@openoffice.org>2006-10-12 14:37:58 +0000
commitc3423af5665bacf6134dc3a02285beeaa00feaa9 (patch)
treebc1271fd8dae56483b1ce238fae98fbd52019d8c /goodies
parentef8358cfe93d12def7a0a9db385a2d571fbf2581 (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.cxx12
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