- Timestamp:
- Jun 25, 2012, 5:34:01 PM (12 years ago)
- Location:
- trunk/BNC/src/rinex
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/bncpostprocess.cpp
r4363 r4364 163 163 } 164 164 catch (...) { 165 delete _rnxObsFile; _rnxObsFile = 0; 165 166 emit finished(); 166 167 deleteLater(); -
trunk/BNC/src/rinex/reqcedit.cpp
r4363 r4364 115 115 while (it.hasNext()) { 116 116 QString filePath = it.next().filePath(); 117 t_rnxObsFile* rnxObsFile = 0; 117 118 try { 118 t_rnxObsFile*rnxObsFile = new t_rnxObsFile(filePath, t_rnxObsFile::input);119 rnxObsFile = new t_rnxObsFile(filePath, t_rnxObsFile::input); 119 120 rnxObsFiles.append(rnxObsFile); 120 121 } 121 122 catch (...) { 122 cerr << "Error in rnxObsFile initialization" << endl; 123 delete rnxObsFile; 124 cerr << "Error in rnxObsFile " << filePath.toAscii().data() << endl; 123 125 } 124 126 } 125 127 } 126 128 else { 129 t_rnxObsFile* rnxObsFile = 0; 127 130 try { 128 t_rnxObsFile*rnxObsFile = new t_rnxObsFile(fileName, t_rnxObsFile::input);131 rnxObsFile = new t_rnxObsFile(fileName, t_rnxObsFile::input); 129 132 rnxObsFiles.append(rnxObsFile); 130 133 } 131 134 catch (...) { 132 cerr << "Error in rnxObsFile initialization"<< endl;135 cerr << "Error in rnxObsFile " << fileName.toAscii().data() << endl; 133 136 } 134 137 }
Note:
See TracChangeset
for help on using the changeset viewer.