Closed
Bug 1208885
Opened 10 years ago
Closed 10 years ago
Use mozGenericWordUtils in mozSpellI18NManager::GetUtil() if the input language is not English
Categories
(Core :: Spelling checker, defect)
Core
Spelling checker
Tracking
()
RESOLVED
FIXED
mozilla44
Tracking | Status | |
---|---|---|
firefox44 | --- | fixed |
People
(Reporter: ehsan.akhgari, Unassigned)
References
Details
Attachments
(1 file, 1 obsolete file)
4.92 KB,
patch
|
smaug
:
review+
|
Details | Diff | Splinter Review |
Found by Viva64.
Comment on attachment 8666501 [details] [diff] [review]
Use mozGenericWordUtils in mozSpellI18NManager::GetUtil() if the input language is not English
Did you actually test the change? Since mozGenericWordUtils is currently totally unused and the methods just return NS_ERROR_NOT_IMPLEMENTED.
GetUtil is apparently called only with "" as language (at least in Firefox, dunno about TB)
I'm rather worried that http://mxr.mozilla.org/mozilla-central/source/extensions/spellcheck/src/mozSpellChecker.cpp#84 will break.
r-, but if you think we really should do the change, please explain what kind of behavior we get.
this is old code https://bugzilla.mozilla.org/show_bug.cgi?id=56301#c214
Attachment #8666501 -
Flags: review?(bugs) → review-
Reporter | ||
Comment 3•10 years ago
|
||
You're right.
Let me silence the static analysis for now. I guess nobody has objected yet. We should remove mozGenericWordUtils since it really has no value!
Reporter | ||
Comment 4•10 years ago
|
||
Found by Viva64. In the future we need to add support for more
langauges, but right now mozGenericWordUtils doesn't provide any value.
Attachment #8666556 -
Flags: review?(bugs)
Reporter | ||
Updated•10 years ago
|
Attachment #8666501 -
Attachment is obsolete: true
Attachment #8666556 -
Flags: review?(bugs) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox44:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
You need to log in
before you can comment on or make changes to this bug.
Description
•