Przeglądaj źródła

* Correction on previous patch

git-svn-id: trunk@32827 -
michael 9 lat temu
rodzic
commit
81b778f555
1 zmienionych plików z 1 dodań i 1 usunięć
  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';