mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 13:33:27 -07:00
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
This commit is contained in:
parent
91dd10ebcb
commit
f3d376ee71
1 changed files with 1 additions and 6 deletions
|
@ -141,6 +141,7 @@ namespace Greenshot.Helpers.IEInterop {
|
||||||
this.document3 = document2 as IHTMLDocument3;
|
this.document3 = document2 as IHTMLDocument3;
|
||||||
// Check what access method is needed for the document
|
// Check what access method is needed for the document
|
||||||
IHTMLDocument5 document5 = (IHTMLDocument5)document2;
|
IHTMLDocument5 document5 = (IHTMLDocument5)document2;
|
||||||
|
|
||||||
//compatibility mode affects how height is computed
|
//compatibility mode affects how height is computed
|
||||||
isDTD = false;
|
isDTD = false;
|
||||||
try {
|
try {
|
||||||
|
@ -150,12 +151,6 @@ namespace Greenshot.Helpers.IEInterop {
|
||||||
} catch (Exception ex) {
|
} catch (Exception ex) {
|
||||||
LOG.Error("Error checking the compatibility mode:");
|
LOG.Error("Error checking the compatibility mode:");
|
||||||
LOG.Error(ex);
|
LOG.Error(ex);
|
||||||
try {
|
|
||||||
Type document3Type = COMWrapper.GetUnderlyingType(document3 as IDispatch);
|
|
||||||
COMWrapper.DumpTypeInfo(document3Type);
|
|
||||||
} catch (Exception exInternal) {
|
|
||||||
LOG.Error(exInternal);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
Rectangle clientRectangle = contentWindow.WindowRectangle;
|
Rectangle clientRectangle = contentWindow.WindowRectangle;
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue