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:
parent
9c86df8e6f
commit
671b9401c8
@ -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;
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user