summaryrefslogtreecommitdiff
path: root/javainstaller2
diff options
context:
space:
mode:
Diffstat (limited to 'javainstaller2')
-rwxr-xr-xjavainstaller2/src/JavaSetup/org/openoffice/setup/Controller/PrologueCtrl.java10
1 files changed, 9 insertions, 1 deletions
diff --git a/javainstaller2/src/JavaSetup/org/openoffice/setup/Controller/PrologueCtrl.java b/javainstaller2/src/JavaSetup/org/openoffice/setup/Controller/PrologueCtrl.java
index 2ed95106890a..39798e6ae394 100755
--- a/javainstaller2/src/JavaSetup/org/openoffice/setup/Controller/PrologueCtrl.java
+++ b/javainstaller2/src/JavaSetup/org/openoffice/setup/Controller/PrologueCtrl.java
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: PrologueCtrl.java,v $
- * $Revision: 1.7 $
+ * $Revision: 1.8 $
*
* This file is part of OpenOffice.org.
*
@@ -85,6 +85,14 @@ public class PrologueCtrl extends PanelController {
if (( installData.getOSType().equalsIgnoreCase("SunOS") ) && ( installData.isMultiLingual() )) {
ModuleCtrl.checkLanguagesPackages(packageData, installData);
+ // int count = installData.getPreselectedLanguages();
+ // System.err.println("Number of preselected language packages: " + count);
+
+ if ( installData.getPreselectedLanguages() == 0 ) {
+ // Something misterious happened. Setting all languages again.
+ ModuleCtrl.setLanguagesPackages(packageData);
+ }
+
if ( installData.logModuleStates() ) {
Dumper.logModuleStates(packageData, "Prologue Dialog Language Selection");
}