Changeset 212 in PSPA


Ignore:
Timestamp:
Dec 19, 2012, 12:05:34 PM (12 years ago)
Author:
garnier
Message:

repation du bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Interface_Web/trunk/pspaWT/src/GWt_pspaApplication.cc

    r211 r212  
    794794 Wt::WPainter p(&pngImage);
    795795 chart->paint(p);
    796  std::ofstream f("chart.png", std::ios::out |std::ios::trunc | std::ios::binary);
     796 std::string name;
     797 name = "chart-"+sessionId ()+".png";
     798 std::ofstream f(name.c_str(), std::ios::out |std::ios::trunc | std::ios::binary);
    797799 pngImage.write(f);
    798800
Note: See TracChangeset for help on using the changeset viewer.