[Bug 303269]

Arnaud Renevier 303269 at bugs.launchpad.net
Wed Jul 27 10:11:51 UTC 2011


PRUnichar *previousDictionary = nsnull; 
nsDependentString previousDictionaryStr;
if (NS_SUCCEEDED(mSpellCheck->GetCurrentDictionary(&previousDictionary))) {
    previousDictionaryStr.Assign(previousDictionary);
}

I wonder if there's a better way to do that. May be
nsEditorSpellCheck::GetCurrentDictionary could return a nsAString
instead PRUnichar** ?

-- 
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to firefox in Ubuntu.
https://bugs.launchpad.net/bugs/303269

Title:
  Automatically select language for spell check based on user input

To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/303269/+subscriptions




More information about the Ubuntu-mozillateam-bugs mailing list