Browse Source

* Correction on previous patch

git-svn-id: trunk@32827 -
michael 9 năm trước cách đây
mục cha
commit
81b778f555
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      packages/winunits-base/src/typelib.pas

+ 1 - 1
packages/winunits-base/src/typelib.pas

@@ -822,7 +822,7 @@ begin
                 end;
               end;
             tmp:='  procedure Set_%s(%s %s:%s); %s;'#13#10;
-            if not (bParamByRef or (sType='OleVariant')) then 
+            if not bParamByRef then 
               Modifier:='const'
             else
               Modifier:='var';