vcl119: #i109847# #i112313# workaround a strange clip region problem on windows printer drivers

This commit is contained in:
Philipp Lohmann [pl] 2011-02-22 19:14:52 +01:00
parent d2681b9888
commit 46f05469df
2 changed files with 3 additions and 1 deletions

4
vcl/win/source/gdi/salgdi.cxx Normal file → Executable file
View file

@ -540,7 +540,9 @@ void ImplSalInitGraphics( WinSalGraphics* pData )
void ImplSalDeInitGraphics( WinSalGraphics* pData )
{
// Default Objekte selektieren
// clear clip region
SelectClipRgn( pData->mhDC, 0 );
// select default objects
if ( pData->mhDefPen )
SelectPen( pData->mhDC, pData->mhDefPen );
if ( pData->mhDefBrush )

0
vcl/win/source/gdi/salprn.cxx Normal file → Executable file
View file