gdi32: Remove obviously incorrect calls to SetMapMode.

This commit is contained in:
Huw Davies 2009-06-29 16:01:06 +01:00 committed by Alexandre Julliard
parent d7af14f1b5
commit db6a9e6f75
1 changed files with 0 additions and 4 deletions

View File

@ -1158,10 +1158,8 @@ UINT WINAPI GetWinMetaFileBits(HENHMETAFILE hemf,
HMETAFILE hmf;
UINT ret;
RECT rc;
INT oldMapMode;
GetClipBox(hdcRef, &rc);
oldMapMode = SetMapMode(hdcRef, fnMapMode);
TRACE("(%p,%d,%p,%d,%p) rc=%s\n", hemf, cbBuffer, lpbBuffer,
fnMapMode, hdcRef, wine_dbgstr_rect(&rc));
@ -1172,8 +1170,6 @@ UINT WINAPI GetWinMetaFileBits(HENHMETAFILE hemf,
ret = GetMetaFileBitsEx(hmf, cbBuffer, lpbBuffer);
DeleteMetaFile(hmf);
SetMapMode(hdcRef, oldMapMode);
return ret;
}