summaryrefslogtreecommitdiff
path: root/vcl/win
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 18:59:46 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2006-06-19 18:59:46 +0000
commitfff650b8902ced73146b93586197cfb2087327d1 (patch)
treeede65918c1440c5684bc22d17f6773754b0ea6fa /vcl/win
parent784a95f8b4fe94ba98955f30d0f406cdff53511a (diff)
INTEGRATION: CWS warnings01 (1.23.34); FILE MERGED
2006/05/23 20:02:16 sb 1.23.34.3: RESYNC: (1.26-1.27); FILE MERGED 2006/04/07 18:58:59 sb 1.23.34.2: RESYNC: (1.23-1.26); FILE MERGED 2006/03/20 18:20:09 pl 1.23.34.1: #i55991# removed warnings for windows platform
Diffstat (limited to 'vcl/win')
-rw-r--r--vcl/win/source/gdi/salgdi.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/vcl/win/source/gdi/salgdi.cxx b/vcl/win/source/gdi/salgdi.cxx
index 106d889cd55c..978dd19602bd 100644
--- a/vcl/win/source/gdi/salgdi.cxx
+++ b/vcl/win/source/gdi/salgdi.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: salgdi.cxx,v $
*
- * $Revision: 1.27 $
+ * $Revision: 1.28 $
*
- * last change: $Author: rt $ $Date: 2006-05-04 15:13:46 $
+ * last change: $Author: hr $ $Date: 2006-06-19 19:59:46 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -329,7 +329,7 @@ void ImplInitSalGDI()
pSalData->mpDitherLow[ n ] = (BYTE) ( n / 51L );
for( n = 0; n < 256L; n++ )
- pSalData->mpDitherHigh[ n ] = Min( pSalData->mpDitherLow[ n ] + 1, 5 );
+ pSalData->mpDitherHigh[ n ] = (BYTE)Min( pSalData->mpDitherLow[ n ] + 1, 5 );
}
// get system color entries
@@ -1026,7 +1026,7 @@ void WinSalGraphics::SetLineColor( SalColor nSalColor )
SALCOLOR_GREEN( nSalColor ),
SALCOLOR_BLUE( nSalColor ) );
HPEN hNewPen = 0;
- BOOL bStockPen;
+ BOOL bStockPen = FALSE;
// search for stock pen (only screen, because printer have problems,
// when we use stock objects)
@@ -1109,7 +1109,7 @@ void WinSalGraphics::SetFillColor( SalColor nSalColor )
BYTE nBlue = SALCOLOR_BLUE( nSalColor );
COLORREF nBrushColor = PALETTERGB( nRed, nGreen, nBlue );
HBRUSH hNewBrush = 0;
- BOOL bStockBrush;
+ BOOL bStockBrush = FALSE;
// search for stock brush (only screen, because printer have problems,
// when we use stock objects)