if ( it.Value()->hasEntry() )
{
_PTR(SObject) aSObject = aStudyDS->FindObjectID( it.Value()->getEntry() );
- if ( aSObject->ReferencedObject(anObj) == false || !QString(anObj->GetIOR().c_str()).isEmpty() )
+ if ( aSObject->ReferencedObject(anObj) == false || !QString(anObj->GetName()).isEmpty() )
isInvalidRefs = false;
}
}
if ( isReference() )
{
- if ( !(text(CT_IOR).isEmpty()) )
+ if ( !(QString(referencedObject()->GetName()).isEmpty()) )
str = QString( "* " ) + str;
else
str = QString( "<Invalid Reference>" );
case Text:
if ( isReference() )
{
- if ( !(text(CT_IOR).isEmpty()) )
+ if ( !(QString(referencedObject()->GetName()).isEmpty()) )
clr = QColor( 255, 0, 0 );
else
clr = QColor( 200, 200, 200 );
case Highlight:
if ( isReference() )
{
- if ( !(text(CT_IOR).isEmpty()) )
+ if ( !(QString(referencedObject()->GetName()).isEmpty()) )
clr = QColor( 255, 0, 0 );
else
clr = QColor( 200, 200, 200 );