fix for 140484: tagStr incorrectly freed in nsListCommand::GetCurrentState; r=jfrancis; sr=kin; ceckin in on behalf of Dan McGuirk
git-svn-id: svn://10.0.0.236/trunk@121868 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
93f2ce40bf
commit
42b40ed3ca
@ -1806,6 +1806,11 @@ PasteAsQuotation(nsIEditor *aEditor, PRInt32 aSelectionType)
|
||||
nsresult
|
||||
GetListState(nsIEditor *aEditor, PRBool *aMixed, PRUnichar **_retval)
|
||||
{
|
||||
if (!aMixed || !_retval || !aEditor)
|
||||
return NS_ERROR_NULL_POINTER;
|
||||
*_retval = nsnull;
|
||||
*aMixed = PR_FALSE;
|
||||
|
||||
nsCOMPtr<nsIHTMLEditor> htmlEditor = do_QueryInterface(aEditor);
|
||||
nsresult err = NS_ERROR_NO_INTERFACE;
|
||||
if (htmlEditor)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user