#5335 Use new getLanguageByLabel methof in term service
[taxeditor.git] / eu.etaxonomy.taxeditor.store / src / main / java / eu / etaxonomy / taxeditor / preference / LanguageRepresentationPreferencePage.java
index 901a5b91f01cc02d650e8755f00086126abc6102..d15037da2018708b498b91c25109a4e8d8ded848 100644 (file)
@@ -104,7 +104,7 @@ public class LanguageRepresentationPreferencePage extends PreferencePage impleme
                        @Override
                        public void widgetSelected(SelectionEvent e) {
                                int selectionIndex = combo_globalLanguage.getSelectionIndex();
-                               globalLanguage = Language.getLanguageByLabel(combo_globalLanguage.getItem(selectionIndex));
+                               globalLanguage = CdmStore.getCurrentApplicationConfiguration().getTermService().getLanguageByLabel(combo_globalLanguage.getItem(selectionIndex));
                        }
                });
        }