mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 336091 - Initialize the out parameters of nsEditor::GetStartNodeAndOffset correctly; r,a=roc
--HG-- extra : rebase_source : 7ae5b960263f2412c21b0cbcebf6f95a4ddb2e73
This commit is contained in:
parent
981256b0b6
commit
9bd0f72c58
@ -3883,8 +3883,7 @@ nsEditor::GetStartNodeAndOffset(nsISelection *aSelection,
|
||||
NS_ENSURE_TRUE(outStartNode && outStartOffset && aSelection, NS_ERROR_NULL_POINTER);
|
||||
|
||||
*outStartNode = nsnull;
|
||||
|
||||
// brade: set outStartNode to null or ?
|
||||
*outStartOffset = 0;
|
||||
|
||||
nsCOMPtr<nsISelectionPrivate>selPrivate(do_QueryInterface(aSelection));
|
||||
nsCOMPtr<nsIEnumerator> enumerator;
|
||||
|
Loading…
Reference in New Issue
Block a user