From 0547cb1d01cb2142ac375dfe8851a94767869a5e Mon Sep 17 00:00:00 2001 From: "glazman%netscape.com" Date: Fri, 10 Jan 2003 13:46:44 +0000 Subject: [PATCH] just removing useless duplicate code; b=188486, r=Neil, r=brade, sr=peterv --- editor/libeditor/html/nsHTMLEditorMouseListener.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/editor/libeditor/html/nsHTMLEditorMouseListener.cpp b/editor/libeditor/html/nsHTMLEditorMouseListener.cpp index 8f89d3f1522..84ab2bd8264 100644 --- a/editor/libeditor/html/nsHTMLEditorMouseListener.cpp +++ b/editor/libeditor/html/nsHTMLEditorMouseListener.cpp @@ -118,10 +118,6 @@ nsHTMLEditorMouseListener::MouseDown(nsIDOMEvent* aMouseEvent) if (!target) return NS_ERROR_NULL_POINTER; nsCOMPtr element = do_QueryInterface(target); - PRInt32 clickCount; - res = mouseEvent->GetDetail(&clickCount); - if (NS_FAILED(res)) return res; - nsCOMPtr selection; mEditor->GetSelection(getter_AddRefs(selection)); if (!selection) return NS_OK;