Changeset 735 for trunk

Show
Ignore:
Timestamp:
02/08/11 16:18:14 (16 months ago)
Author:
mgalloy
Message:

Temporary fix for crashing bug. Some index entry values are not valid object references (it seems to be properties, but I can't reproduce the problem or distinguish between those properties that have the problem and those that don't). This commit fixes the issue, but there shouldn't be any invalid object references in the index (they aren't invalid when they are added).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/doc_system__define.pro

    r728 r735  
    954954   
    955955  for i = 0L, nEntries - 1L do begin 
    956     isVisibleEntries[i] = entries[i].item->isVisible() 
     956    isVisibleEntries[i] = obj_valid(entries[i].item) ? entries[i].item->isVisible() : 0B 
    957957  endfor 
    958958