From f3d376ee71e15b99003bbd63aa3f1c38ec9b0f92 Mon Sep 17 00:00:00 2001 From: RKrom Date: Fri, 14 Sep 2012 14:53:45 +0000 Subject: [PATCH] Removed debug information as this crashed Greenshot, after 5 minutes blocking one CPU :) git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2033 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4 --- Greenshot/Helpers/IEInterop/IEContainer.cs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Greenshot/Helpers/IEInterop/IEContainer.cs b/Greenshot/Helpers/IEInterop/IEContainer.cs index 1544341e9..012f07a39 100644 --- a/Greenshot/Helpers/IEInterop/IEContainer.cs +++ b/Greenshot/Helpers/IEInterop/IEContainer.cs @@ -141,6 +141,7 @@ namespace Greenshot.Helpers.IEInterop { this.document3 = document2 as IHTMLDocument3; // Check what access method is needed for the document IHTMLDocument5 document5 = (IHTMLDocument5)document2; + //compatibility mode affects how height is computed isDTD = false; try { @@ -150,12 +151,6 @@ namespace Greenshot.Helpers.IEInterop { } catch (Exception ex) { LOG.Error("Error checking the compatibility mode:"); LOG.Error(ex); - try { - Type document3Type = COMWrapper.GetUnderlyingType(document3 as IDispatch); - COMWrapper.DumpTypeInfo(document3Type); - } catch (Exception exInternal) { - LOG.Error(exInternal); - } } Rectangle clientRectangle = contentWindow.WindowRectangle; try {