Selaa lähdekoodia

* Correction on previous patch

git-svn-id: trunk@32827 -
michael 9 vuotta sitten
vanhempi
commit
81b778f555
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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';