Bug 294989: remove some strict warnings; r=sfraser, sr=dmose, a=bsmedberg

git-svn-id: svn://10.0.0.236/trunk@175090 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mnyromyr%tprac.de
2005-06-24 12:09:26 +00:00
parent 2c19264f37
commit efd239e23b

View File

@@ -57,7 +57,7 @@ var InlineSpellChecker =
checkDocument : function(doc)
{
if (!this.inlineSpellChecker || !this.inlineSpellChecker.enableRealTimeSpell)
return null;
return;
var range = doc.createRange();
range.selectNodeContents(doc.body);
@@ -130,7 +130,7 @@ var InlineSpellChecker =
selectSuggestion : function (newword, node, offset)
{
if (!this.inlineSpellChecker || !this.inlineSpellChecker.enableRealTimeSpell)
return null;
return;
if (!node)
{
@@ -145,7 +145,7 @@ var InlineSpellChecker =
addToDictionary : function (node, offset)
{
if (!this.inlineSpellChecker || !this.inlineSpellChecker.enableRealTimeSpell)
return null;
return;
if (!node)
{
@@ -161,7 +161,7 @@ var InlineSpellChecker =
ignoreWord : function (node, offset)
{
if (!this.inlineSpellChecker || !this.inlineSpellChecker.enableRealTimeSpell)
return null;
return;
if (!node)
{