mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-31 02:48:48 +00:00
6773: an nsresult was being checked before it was initialized. Appv'd chofmann
This commit is contained in:
parent
190fb5c9b0
commit
c25fa13fd9
@ -1203,6 +1203,7 @@ NS_IMETHODIMP nsEditor::CreateTxnForInsertText(const nsString & aStringToInsert,
|
||||
if (aTextNode) {
|
||||
nodeAsText = do_QueryInterface(aTextNode);
|
||||
offset = 0;
|
||||
result = NS_OK;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -1203,6 +1203,7 @@ NS_IMETHODIMP nsEditor::CreateTxnForInsertText(const nsString & aStringToInsert,
|
||||
if (aTextNode) {
|
||||
nodeAsText = do_QueryInterface(aTextNode);
|
||||
offset = 0;
|
||||
result = NS_OK;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user