mozilla tree r=tao, sr=alecf. commercial tree r=syd, sr=syd/shaver. lowercasing the first char in JS method calls to createBundle. removing the dead locale parameter in the CreateBundle() method call. 76332
git-svn-id: svn://10.0.0.236/trunk@93239 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -296,8 +296,7 @@ nsEditorShell::Init()
|
||||
NS_WARNING("ERROR: Failed to get StringBundle Service instance.\n");
|
||||
return res;
|
||||
}
|
||||
nsILocale* aLocale = nsnull;
|
||||
res = stringBundleService->CreateBundle(EDITOR_BUNDLE_URL, aLocale, getter_AddRefs(mStringBundle));
|
||||
res = stringBundleService->CreateBundle(EDITOR_BUNDLE_URL, getter_AddRefs(mStringBundle));
|
||||
|
||||
// XXX: why are we returning NS_OK here rather than res?
|
||||
// is it ok to fail to get a string bundle? if so, it should be documented.
|
||||
|
||||
Reference in New Issue
Block a user