diff --git a/extensions/spellcheck/hunspell/src/moz.build b/extensions/spellcheck/hunspell/src/moz.build index 11b02dc910dc..db12b627eb54 100644 --- a/extensions/spellcheck/hunspell/src/moz.build +++ b/extensions/spellcheck/hunspell/src/moz.build @@ -6,13 +6,13 @@ MODULE = 'hunspell' -UNIFIED_SOURCES += [ +SOURCES += [ 'mozHunspell.cpp', 'mozHunspellDirProvider.cpp', ] if not CONFIG['MOZ_NATIVE_HUNSPELL']: - UNIFIED_SOURCES += [ + SOURCES += [ 'affentry.cpp', 'affixmgr.cpp', 'csutil.cpp', diff --git a/extensions/spellcheck/hunspell/src/mozHunspell.cpp b/extensions/spellcheck/hunspell/src/mozHunspell.cpp index 44b7b46cc026..4dfcaed32885 100644 --- a/extensions/spellcheck/hunspell/src/mozHunspell.cpp +++ b/extensions/spellcheck/hunspell/src/mozHunspell.cpp @@ -78,6 +78,7 @@ #include "nsIPrefService.h" #include "nsIPrefBranch.h" +static NS_DEFINE_CID(kCharsetConverterManagerCID, NS_ICHARSETCONVERTERMANAGER_CID); static NS_DEFINE_CID(kUnicharUtilCID, NS_UNICHARUTIL_CID); NS_IMPL_CYCLE_COLLECTING_ADDREF(mozHunspell) diff --git a/extensions/spellcheck/src/moz.build b/extensions/spellcheck/src/moz.build index e612afc303b3..1482a37ed0e9 100644 --- a/extensions/spellcheck/src/moz.build +++ b/extensions/spellcheck/src/moz.build @@ -6,7 +6,7 @@ MODULE = 'spellchecker' -UNIFIED_SOURCES += [ +SOURCES += [ 'mozEnglishWordUtils.cpp', 'mozGenericWordUtils.cpp', 'mozInlineSpellChecker.cpp', diff --git a/extensions/spellcheck/src/mozInlineSpellWordUtil.h b/extensions/spellcheck/src/mozInlineSpellWordUtil.h index 584acbaa6334..87d7c4651e5d 100644 --- a/extensions/spellcheck/src/mozInlineSpellWordUtil.h +++ b/extensions/spellcheck/src/mozInlineSpellWordUtil.h @@ -3,9 +3,6 @@ * 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/. */ -#ifndef mozInlineSpellWordUtil_h -#define mozInlineSpellWordUtil_h - #include "nsCOMPtr.h" #include "nsIDOMDocument.h" #include "nsIDocument.h" @@ -162,5 +159,3 @@ private: nsresult MakeRange(NodeOffset aBegin, NodeOffset aEnd, nsRange** aRange); nsresult MakeRangeForWord(const RealWord& aWord, nsRange** aRange); }; - -#endif