зеркало из https://github.com/mozilla/gecko-dev.git
Back out 134f2dc02468 (bug 939659) for assertions
This commit is contained in:
Родитель
924898eb66
Коммит
e59f69b821
|
@ -6,13 +6,13 @@
|
||||||
|
|
||||||
MODULE = 'hunspell'
|
MODULE = 'hunspell'
|
||||||
|
|
||||||
UNIFIED_SOURCES += [
|
SOURCES += [
|
||||||
'mozHunspell.cpp',
|
'mozHunspell.cpp',
|
||||||
'mozHunspellDirProvider.cpp',
|
'mozHunspellDirProvider.cpp',
|
||||||
]
|
]
|
||||||
|
|
||||||
if not CONFIG['MOZ_NATIVE_HUNSPELL']:
|
if not CONFIG['MOZ_NATIVE_HUNSPELL']:
|
||||||
UNIFIED_SOURCES += [
|
SOURCES += [
|
||||||
'affentry.cpp',
|
'affentry.cpp',
|
||||||
'affixmgr.cpp',
|
'affixmgr.cpp',
|
||||||
'csutil.cpp',
|
'csutil.cpp',
|
||||||
|
|
|
@ -78,6 +78,7 @@
|
||||||
#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 @@
|
||||||
|
|
||||||
MODULE = 'spellchecker'
|
MODULE = 'spellchecker'
|
||||||
|
|
||||||
UNIFIED_SOURCES += [
|
SOURCES += [
|
||||||
'mozEnglishWordUtils.cpp',
|
'mozEnglishWordUtils.cpp',
|
||||||
'mozGenericWordUtils.cpp',
|
'mozGenericWordUtils.cpp',
|
||||||
'mozInlineSpellChecker.cpp',
|
'mozInlineSpellChecker.cpp',
|
||||||
|
|
|
@ -3,9 +3,6 @@
|
||||||
* 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"
|
||||||
|
@ -162,5 +159,3 @@ 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
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче