Browse Source

* assign an Interface to TGuid was not possible (const Guid: TGuid = IUnknown)

git-svn-id: trunk@12690 -
ivost 16 years ago
parent
commit
c61a0784cb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/defcmp.pas

+ 1 - 1
compiler/defcmp.pas

@@ -500,7 +500,7 @@ implementation
                  objectdef :
                  objectdef :
                    begin
                    begin
                      { corba interface -> id string }
                      { corba interface -> id string }
-                     if is_interfacecorba(def_from) then
+                     if is_interfacecorba(def_from) or is_interfacecom(def_from) then
                       begin
                       begin
                         doconv:=tc_intf_2_string;
                         doconv:=tc_intf_2_string;
                         eq:=te_convert_l1;
                         eq:=te_convert_l1;