25779: Add/improve alternate windows cut/copy/paste key bindings: r=brade sr=sfraser.
68747: Remove redundant code in nsHTMLEditor. sr=sfraser. git-svn-id: svn://10.0.0.236/trunk@87136 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -620,7 +620,7 @@ NS_IMETHODIMP nsHTMLEditor::InsertFromTransferable(nsITransferable *transferable
|
||||
nsAutoTxnsConserveSelection dontSpazMySelection(this);
|
||||
nsAutoString flavor, stuffToPaste;
|
||||
flavor.AssignWithConversion( bestFlavor ); // just so we can use flavor.Equals()
|
||||
#ifdef DEBUG_akkana
|
||||
#ifdef DEBUG_clipboard
|
||||
printf("Got flavor [%s]\n", bestFlavor);
|
||||
#endif
|
||||
if (flavor.EqualsWithConversion(kHTMLMime))
|
||||
@@ -1289,7 +1289,7 @@ NS_IMETHODIMP nsHTMLEditor::PasteAsPlaintextQuotation(PRInt32 aSelectionType)
|
||||
#endif
|
||||
return rv;
|
||||
}
|
||||
#ifdef DEBUG_akkana
|
||||
#ifdef DEBUG_clipboard
|
||||
printf("Got flavor [%s]\n", flav);
|
||||
#endif
|
||||
nsAutoString flavor; flavor.AssignWithConversion(flav);
|
||||
|
||||
Reference in New Issue
Block a user