Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/MoleculeAction/SaveBondsAction.cpp

    r35b698 r112b09  
    6464    DoLog(0) && (Log() << Verbose(0) << "Storing bonds to path " << filename << "." << endl);
    6565    World::getInstance().getConfig()->BG->ConstructBondGraph(mol);
    66     // TODO: sollte stream, nicht filenamen direkt nutzen, besser fuer unit tests
    67     mol->StoreBondsToFile(filename);
     66    // TODO: sollte stream, nicht filenamen direkt nutzen, beser fuer unit tests
     67    char outputname[MAXSTRINGSIZE];
     68    strcpy(outputname, filename.c_str());
     69    mol->StoreBondsToFile(NULL, outputname);
    6870    delete dialog;
    6971    return Action::success;
Note: See TracChangeset for help on using the changeset viewer.