case CORBA::tk_objref: {
char* retstr ;
CORBA::Object_ptr obj ;
- aLink.aLinkValue >>= obj ;
+#if OMNIORB_VERSION >= 4
+ aLink.aLinkValue >>= (CORBA::Any::to_object)obj;
+#else
+ aLink.aLinkValue >>= obj;
+#endif
retstr = _Orb->object_to_string(obj );
// f << Tabs << " <value>" << retstr << "</value>" << endl ;
QDomElement value = Graph.createElement( "value" ) ;
case CORBA::tk_objref: {
char* retstr ;
CORBA::Object_ptr obj ;
- aLink.aLinkValue >>= obj ;
+#if OMNIORB_VERSION >= 4
+ aLink.aLinkValue >>= (CORBA::Any::to_object)obj;
+#else
+ aLink.aLinkValue >>= obj;
+#endif
retstr = _Orb->object_to_string(obj );
f << "'" << retstr << "'" ;
break ;