(Qt): check OldPoint argument in SetWindowOrgEx (issue #0009369)

git-svn-id: trunk@11714 -
This commit is contained in:
paul 2007-08-02 15:52:53 +00:00
parent dfd84ee746
commit a1a71f0c90

View File

@ -4046,7 +4046,8 @@ begin
if IsValidDC(DC) then
begin
GetWindowOrgEx(DC, OldPoint);
if OldPoint <> nil then
GetWindowOrgEx(DC, OldPoint);
TQtDeviceContext(DC).translate(-NewX, -NewY);
end;