~zorba-coders/zorba/bug-1188033-test

« back to all changes in this revision

Viewing changes to src/archive_module.xq.src/archive_module.cpp

  • Committer: Luis Rodriguez Gonzalez
  • Date: 2013-07-28 23:32:45 UTC
  • Revision ID: kuraru@gmail.com-20130728233245-0cdx2vk5arjtbi90
Testing global Items for Entries

Show diffs side-by-side

added added

removed removed

Lines of Context:
165
165
    }
166
166
  }
167
167
 
 
168
  zorba::Item&
 
169
  ArchiveModule::getGlobalItems(enum ArchiveModule::GLOBAL_ITEMS g)
 
170
  {
 
171
      return globalFormatName;
 
172
  }
 
173
 
168
174
/*******************************************************************************
169
175
 ****************************** ArchiveFunction ********************************
170
176
 ******************************************************************************/
1408
1414
      lCompression = "DEFLATE";
1409
1415
    }
1410
1416
 
1411
 
    lElemt = std::make_pair<zorba::Item, zorba::Item>(gFormatKey,
 
1417
    lElemt = std::make_pair<zorba::Item, zorba::Item>(ArchiveModule::getGlobalItems(ArchiveModule::FORMAT),
1412
1418
                                                      theFactory->createString(lFormat));
1413
1419
    lJSONObject.push_back(lElemt);
1414
1420