Apache OpenOffice (AOO) Bugzilla – Issue 11212
invalid languagetype used in GetDefaultFont
Last modified: 2013-08-07 14:43:23 UTC
- install japanese version (81) (use japanese locale) - start writer - the initial font is not the default font for japanese, but that for english. In sw/source/ui/app/doshini.cxx line 378 (rev.1.27.7) you get an SvxLanguageItem. The result of its GetLanguage() member you use in GetDefaultFont; the result being used is 0x7EF8 the first time and 0x7F20 the second time that code is passed on creating a document (resp. on startup). Neither of these values is a valid language type (not even nearly). Please check whether GetLanguage really produces a LanguageType as defined in tools/lang.hxx; if not please use the correct method, if yes then please dispatch this issue to whomever may be responsible for the wrong language type. Seen on Linux but this does not look like a system specific issue.
I think this should be fixed in beta or at least final.
Hi, There's no reply and 644 snapshot was published. I can't feel good atmosphere in this issue. Oliver, please reassigned this issue to developer properly or fix this issue by yourself. Developer who are resposible for sw/source/ui/app/doshini.cxx, please consider this issue. Best Regards,
Fixed in cws apps02 in sw\source\ui\app\docshini.cxx
.
Verified in CWS apps02.
As mentioned on the qa dev list on March 5th I will close all resolved <wontfix/duplicate/worksforme/invalid> issues. Please see this posting for details.