just removing useless duplicate code; b=188486, r=Neil, r=brade, sr=peterv

This commit is contained in:
glazman%netscape.com 2003-01-10 13:46:44 +00:00
Родитель 169ffbadef
Коммит 0547cb1d01
1 изменённых файлов: 0 добавлений и 4 удалений

Просмотреть файл

@ -118,10 +118,6 @@ nsHTMLEditorMouseListener::MouseDown(nsIDOMEvent* aMouseEvent)
if (!target) return NS_ERROR_NULL_POINTER; if (!target) return NS_ERROR_NULL_POINTER;
nsCOMPtr<nsIDOMElement> element = do_QueryInterface(target); nsCOMPtr<nsIDOMElement> element = do_QueryInterface(target);
PRInt32 clickCount;
res = mouseEvent->GetDetail(&clickCount);
if (NS_FAILED(res)) return res;
nsCOMPtr<nsISelection> selection; nsCOMPtr<nsISelection> selection;
mEditor->GetSelection(getter_AddRefs(selection)); mEditor->GetSelection(getter_AddRefs(selection));
if (!selection) return NS_OK; if (!selection) return NS_OK;