瀏覽代碼

* Fixed handling of OleVariant type (was messed up with Variant), now comparisons with colevarianttype work correctly, resolves #22504 (r21970 was correct but not enough).

git-svn-id: trunk@21976 -
sergei 13 年之前
父節點
當前提交
a7311f1348
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      compiler/psystem.pas

+ 1 - 1
compiler/psystem.pas

@@ -378,7 +378,7 @@ implementation
         addtype('$openchararray',openchararraytype);
         addtype('$file',cfiletype);
         addtype('$variant',cvarianttype);
-        addtype('$olevariant',cvarianttype);
+        addtype('$olevariant',colevarianttype);
         if init_settings.fputype<>fpu_none then
           begin
             addtype('$s32real',s32floattype);