Changeset 3f1e8c0 in tol
- Timestamp:
- Jan 11, 2011, 9:48:28 AM (16 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 2c3c594
- Parents:
- f6b3577
- File:
-
- 1 edited
-
tol/OIS/oisapitol.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tol/OIS/oisapitol.cpp
rf6b3577 r3f1e8c0 1130 1130 BOisCreator oisCreator; 1131 1131 //Std(BText("\nTRACE OisUseModuleEvaluator 7.4")); 1132 BOisCreator::current_ = &oisCreator;1133 //Std(BText("\nTRACE OisUseModuleEvaluator 7.5"));1134 1132 BUserSet* uData = IncludeFile(name); 1135 //Std(BText("\nTRACE OisUseModuleEvaluator 7.6"));1136 BOisCreator::current_ = NULL;1137 1133 //Std(BText("\nTRACE OisUseModuleEvaluator 7.7")); 1138 1134 result = uData; … … 1232 1228 } 1233 1229 BText ozaPath = BOis::GetModulePath(name); 1234 bool ozaExist = CheckIsFile(ozaPath) ;1230 bool ozaExist = CheckIsFile(ozaPath)!=0; 1235 1231 bool isObsolete = !ozaExist; 1236 1232 if(isObsolete) … … 1251 1247 BDate tolTime = BTimer::TimeToDate(GetFileTime(name)); 1252 1248 BDate ozaTime = BTimer::TimeToDate(GetFileTime(ozaPath)); 1253 isObsolete = tolTime > ozaTime;1249 isObsolete = (tolTime > ozaTime)!=0; 1254 1250 if(isObsolete) 1255 1251 { … … 1260 1256 { 1261 1257 BDate nowTime = DteNow(); 1262 isObsolete = ( nowTime-ozaTime)*24*60 > caducityInMinutes;1258 isObsolete = ((nowTime-ozaTime)*24*60 > caducityInMinutes)!=0; 1263 1259 if(isObsolete) 1264 1260 {
Note: See TracChangeset
for help on using the changeset viewer.
