Explorar o código

* Correction on previous patch

git-svn-id: trunk@32827 -
michael %!s(int64=9) %!d(string=hai) anos
pai
achega
81b778f555
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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';