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

This commit is contained in:
mnyromyr%tprac.de 2005-06-24 12:09:26 +00:00
Родитель bdb00e047c
Коммит 020388b1b6
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -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)
{