Changeset c02c817 in tol
- Timestamp:
- May 12, 2009, 8:10:21 AM (17 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 9b4d7dc
- Parents:
- 7046b67
- File:
-
- 1 edited
-
tol/btol/set_type/set.cpp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tol/btol/set_type/set.cpp
r7046b67 rc02c817 353 353 //-------------------------------------------------------------------- 354 354 { 355 if(nameBlock_ )355 if(nameBlock_ && nameBlock_->EnsureIsAssigned()) 356 356 { 357 357 Error(I2("Cannot access to NameBlock members with operator ", … … 483 483 //-------------------------------------------------------------------- 484 484 { 485 if(nameBlock_ )485 if(nameBlock_ && nameBlock_->EnsureIsAssigned()) 486 486 { 487 487 Error(I2("Cannot access to NameBlock members with operator ", … … 523 523 } 524 524 } 525 else if(nameBlock_ )525 else if(nameBlock_ && nameBlock_->EnsureIsAssigned()) 526 526 { 527 527 Error(I2("Cannot access to NameBlock members with ", … … 556 556 BText txt; 557 557 BText end; 558 if(nameBlock_) { txt = "NameBlock [["; end = "]]"; } else 558 if(nameBlock_&& nameBlock_->EnsureIsAssigned()) 559 { 560 txt = "NameBlock [["; end = "]]"; 561 } else 559 562 if(Struct()) { txt = struct_->Name() + "("; end = ")"; } 560 563 else { txt = "[[ "; end = "]]"; } … … 958 961 //-------------------------------------------------------------------- 959 962 { 960 if(!nameBlock_ )963 if(!nameBlock_ || !nameBlock_->EnsureIsAssigned()) 961 964 { 962 965 errMsg = I2("Cannot access to member ",
Note: See TracChangeset
for help on using the changeset viewer.
