diff options
author | Philipp Lohmann [pl] <Philipp.Lohmann@Sun.COM> | 2011-02-22 19:14:52 +0100 |
---|---|---|
committer | Philipp Lohmann [pl] <Philipp.Lohmann@Sun.COM> | 2011-02-22 19:14:52 +0100 |
commit | 46f05469df2436d3923b73b876394450bcc23b71 (patch) | |
tree | 0138a825ab3c1c05a1c0cc7163086263e4353c39 | |
parent | d2681b9888383e1c3f8f8286b615944f35497e67 (diff) |
vcl119: #i109847# #i112313# workaround a strange clip region problem on windows printer drivers
-rwxr-xr-x[-rw-r--r--] | vcl/win/source/gdi/salgdi.cxx | 4 | ||||
-rwxr-xr-x[-rw-r--r--] | vcl/win/source/gdi/salprn.cxx | 0 |
2 files changed, 3 insertions, 1 deletions
diff --git a/vcl/win/source/gdi/salgdi.cxx b/vcl/win/source/gdi/salgdi.cxx index 8cb52c917b38..3c1aadd79dca 100644..100755 --- a/vcl/win/source/gdi/salgdi.cxx +++ b/vcl/win/source/gdi/salgdi.cxx @@ -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 ) diff --git a/vcl/win/source/gdi/salprn.cxx b/vcl/win/source/gdi/salprn.cxx index 2c8f81bce364..2c8f81bce364 100644..100755 --- a/vcl/win/source/gdi/salprn.cxx +++ b/vcl/win/source/gdi/salprn.cxx |