Skip to content
Snippets Groups Projects
Commit 290fd5ae authored by Ehsan Akhgari's avatar Ehsan Akhgari
Browse files

Bug 939659 - Build spellchecker in unified mode; r=roc

parent 8416bcf2
No related branches found
No related tags found
No related merge requests found
...@@ -6,13 +6,13 @@ ...@@ -6,13 +6,13 @@
MODULE = 'hunspell' MODULE = 'hunspell'
SOURCES += [ UNIFIED_SOURCES += [
'mozHunspell.cpp', 'mozHunspell.cpp',
'mozHunspellDirProvider.cpp', 'mozHunspellDirProvider.cpp',
] ]
if not CONFIG['MOZ_NATIVE_HUNSPELL']: if not CONFIG['MOZ_NATIVE_HUNSPELL']:
SOURCES += [ UNIFIED_SOURCES += [
'affentry.cpp', 'affentry.cpp',
'affixmgr.cpp', 'affixmgr.cpp',
'csutil.cpp', 'csutil.cpp',
......
...@@ -78,7 +78,6 @@ ...@@ -78,7 +78,6 @@
#include "nsIPrefService.h" #include "nsIPrefService.h"
#include "nsIPrefBranch.h" #include "nsIPrefBranch.h"
static NS_DEFINE_CID(kCharsetConverterManagerCID, NS_ICHARSETCONVERTERMANAGER_CID);
static NS_DEFINE_CID(kUnicharUtilCID, NS_UNICHARUTIL_CID); static NS_DEFINE_CID(kUnicharUtilCID, NS_UNICHARUTIL_CID);
NS_IMPL_CYCLE_COLLECTING_ADDREF(mozHunspell) NS_IMPL_CYCLE_COLLECTING_ADDREF(mozHunspell)
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
MODULE = 'spellchecker' MODULE = 'spellchecker'
SOURCES += [ UNIFIED_SOURCES += [
'mozEnglishWordUtils.cpp', 'mozEnglishWordUtils.cpp',
'mozGenericWordUtils.cpp', 'mozGenericWordUtils.cpp',
'mozInlineSpellChecker.cpp', 'mozInlineSpellChecker.cpp',
......
...@@ -3,6 +3,9 @@ ...@@ -3,6 +3,9 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef mozInlineSpellWordUtil_h
#define mozInlineSpellWordUtil_h
#include "nsCOMPtr.h" #include "nsCOMPtr.h"
#include "nsIDOMDocument.h" #include "nsIDOMDocument.h"
#include "nsIDocument.h" #include "nsIDocument.h"
...@@ -159,3 +162,5 @@ private: ...@@ -159,3 +162,5 @@ private:
nsresult MakeRange(NodeOffset aBegin, NodeOffset aEnd, nsRange** aRange); nsresult MakeRange(NodeOffset aBegin, NodeOffset aEnd, nsRange** aRange);
nsresult MakeRangeForWord(const RealWord& aWord, nsRange** aRange); nsresult MakeRangeForWord(const RealWord& aWord, nsRange** aRange);
}; };
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment