INTEGRATION: CWS qwizardsbf4 (1.4.20); FILE MERGED
2005/04/11 16:28:25 tv 1.4.20.1: #correct handling of Office Language
This commit is contained in:
parent
77098cbe27
commit
92aa8c6b88
1 changed files with 4 additions and 4 deletions
|
@ -2,9 +2,9 @@
|
||||||
*
|
*
|
||||||
* $RCSfile: Configuration.java,v $
|
* $RCSfile: Configuration.java,v $
|
||||||
*
|
*
|
||||||
* $Revision: 1.4 $
|
* $Revision: 1.5 $
|
||||||
*
|
*
|
||||||
* last change: $Author: kz $ $Date: 2005-03-01 17:27:59 $
|
* last change: $Author: obo $ $Date: 2005-04-18 15:12:12 $
|
||||||
*
|
*
|
||||||
* The Contents of this file are made available subject to the terms of
|
* The Contents of this file are made available subject to the terms of
|
||||||
* either of the following licenses
|
* either of the following licenses
|
||||||
|
@ -217,8 +217,8 @@ public abstract class Configuration {
|
||||||
|
|
||||||
public static String getOfficeLinguistic(XMultiServiceFactory xMSF) {
|
public static String getOfficeLinguistic(XMultiServiceFactory xMSF) {
|
||||||
try {
|
try {
|
||||||
Object oMasterKey = getConfigurationRoot(xMSF, "org.openoffice.Office.Linguistic/General/", false);
|
Object oMasterKey = getConfigurationRoot(xMSF, "org.openoffice.Setup/L10N/", false);
|
||||||
String sLinguistic = (String) Helper.getUnoObjectbyName(oMasterKey, "DefaultLocale");
|
String sLinguistic = (String) Helper.getUnoObjectbyName(oMasterKey, "ooLocale");
|
||||||
return sLinguistic;
|
return sLinguistic;
|
||||||
} catch (Exception exception) {
|
} catch (Exception exception) {
|
||||||
exception.printStackTrace();
|
exception.printStackTrace();
|
||||||
|
|
Loading…
Reference in a new issue