Browse Source

* Correction on previous patch

git-svn-id: trunk@32827 -
michael 9 years ago
parent
commit
81b778f555
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/winunits-base/src/typelib.pas

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

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