Revision 1166 tmp/org.txm.analec.rcp/src/org/txm/macro/analec/misc/UnitTypesNotInSchemaMacro.groovy

UnitTypesNotInSchemaMacro.groovy (revision 1166)
22 22
if (!ParametersDialog.open(this)) return;
23 23

  
24 24
MainCorpus corpus = corpusViewSelection
25
def analecCorpus = AnalecCorpora.getCorpus(corpus.getID());
25
def analecCorpus = AnalecCorpora.getCorpus(corpus);
26 26

  
27 27
def unitesInSchema = new HashSet()
28 28
for (def schema : analecCorpus.getSchemas(schema_type)) {

Also available in: Unified diff