33785: Fix PasteAsCitedQuotation. r=jfrancis

git-svn-id: svn://10.0.0.236/trunk@64621 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
akkana%netscape.com 2000-03-30 22:26:06 +00:00
parent 9c86df8e6f
commit 671b9401c8
2 changed files with 2 additions and 0 deletions

View File

@ -4313,6 +4313,7 @@ NS_IMETHODIMP nsHTMLEditor::PasteAsQuotation()
NS_IMETHODIMP nsHTMLEditor::PasteAsCitedQuotation(const nsString& aCitation)
{
nsAutoEditBatch beginBatching(this);
nsAutoRules beginRulesSniffing(this, kOpInsertQuotation, nsIEditor::eNext);
// get selection
nsCOMPtr<nsIDOMSelection> selection;

View File

@ -4313,6 +4313,7 @@ NS_IMETHODIMP nsHTMLEditor::PasteAsQuotation()
NS_IMETHODIMP nsHTMLEditor::PasteAsCitedQuotation(const nsString& aCitation)
{
nsAutoEditBatch beginBatching(this);
nsAutoRules beginRulesSniffing(this, kOpInsertQuotation, nsIEditor::eNext);
// get selection
nsCOMPtr<nsIDOMSelection> selection;