summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-06-18 14:06:40 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-06-18 14:06:40 +0000
commit3561d5405cceb40e4b87fe97679654eebae917da (patch)
tree9372f3123e3b40ef906a8e3472e6d9fb327f75db /vcl
parentaaf196047cc91f543c69fc561ea0ec10a80a5002 (diff)
INTEGRATION: CWS forscope (1.19.30); FILE MERGED
2004/06/18 14:11:14 obo 1.19.30.1: #i30457# forScope and RTTI
Diffstat (limited to 'vcl')
-rw-r--r--vcl/win/source/gdi/salgdi.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/vcl/win/source/gdi/salgdi.cxx b/vcl/win/source/gdi/salgdi.cxx
index 9623b3899cb0..fd49647caef1 100644
--- a/vcl/win/source/gdi/salgdi.cxx
+++ b/vcl/win/source/gdi/salgdi.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: salgdi.cxx,v $
*
- * $Revision: 1.19 $
+ * $Revision: 1.20 $
*
- * last change: $Author: rt $ $Date: 2004-05-17 16:00:27 $
+ * last change: $Author: hr $ $Date: 2004-06-18 15:06:40 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -1591,7 +1591,8 @@ static BYTE* ImplSearchEntry( BYTE* pSource, BYTE* pDest, ULONG nComp, ULONG nSi
{
while ( nComp-- >= nSize )
{
- for ( ULONG i = 0; i < nSize; i++ )
+ ULONG i;
+ for ( i = 0; i < nSize; i++ )
{
if ( ( pSource[i]&~0x20 ) != ( pDest[i]&~0x20 ) )
break;
@@ -1616,7 +1617,8 @@ static BOOL ImplGetBoundingBox( double* nNumb, BYTE* pSource, ULONG nSize )
if ( nSizeLeft > 100 )
nSizeLeft = 100; // only 100 bytes following the bounding box will be checked
- for ( int i = 0; ( i < 4 ) && nSizeLeft; i++ )
+ int i;
+ for ( i = 0; ( i < 4 ) && nSizeLeft; i++ )
{
int nDivision = 1;
BOOL bDivision = FALSE;