Bug 1500372 - Port bug 1491569: Assume that spellchecker is always installed. r=aceman
authorJorg K <jorgk@jorgk.com>
Fri, 19 Oct 2018 23:39:17 +0200
changeset 33430 941b876fbeb87c59897a9ec79f0a3ef7fd4169ee
parent 33429 c7cffab8f15a95dbb7c7fdf688f52bef097a6417
child 33431 baf2d45077353ff89255ffedcfea660bda226e4d
push id387
push userclokep@gmail.com
push dateMon, 10 Dec 2018 21:30:47 +0000
reviewersaceman
bugs1500372, 1491569
Bug 1500372 - Port bug 1491569: Assume that spellchecker is always installed. r=aceman
editor/ui/composer/content/editor.js
--- a/editor/ui/composer/content/editor.js
+++ b/editor/ui/composer/content/editor.js
@@ -2485,17 +2485,17 @@ function getColorAndSetColorWell(ColorPi
     }
   }
   return color;
 }
 
 //-----------------------------------------------------------------------------------
 function IsSpellCheckerInstalled()
 {
-  return "@mozilla.org/spellchecker;1" in Cc;
+  return true;  // Always installed.
 }
 
 //-----------------------------------------------------------------------------------
 function IsFindInstalled()
 {
   return "@mozilla.org/embedcomp/rangefind;1" in Cc
           && "@mozilla.org/find/find_service;1" in Cc;
 }