From 681fed6ffa93f42d29812e7f4e9de67056f4c65d Mon Sep 17 00:00:00 2001 From: Juha Date: Fri, 4 Jul 2025 00:01:28 +0300 Subject: [PATCH] Codetools: Improve OleVariant support. Issue #41704. --- components/codetools/finddeclarationtool.pas | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/codetools/finddeclarationtool.pas b/components/codetools/finddeclarationtool.pas index 04925d94fa..ec3162294c 100644 --- a/components/codetools/finddeclarationtool.pas +++ b/components/codetools/finddeclarationtool.pas @@ -362,8 +362,8 @@ const xtAllStringTypes = [xtConstString, xtShortString, xtString, xtAnsiString]; xtAllWideStringTypes = [xtConstString, xtWideString, xtUnicodeString]; xtAllPointerTypes = [xtPointer, xtNil]; - xtAllTypeHelperTypes = xtAllPredefinedTypes-[xtCompilerFunc,xtVariant,xtJSValue,xtNil]; - + xtAllTypeHelperTypes = xtAllPredefinedTypes-[xtCompilerFunc,xtVariant,xtOleVariant, + xtJSValue,xtNil]; xtAllStringCompatibleTypes = xtAllStringTypes+[xtChar,xtAnsiChar,xtJSValue]; xtAllWideStringCompatibleTypes = xtAllWideStringTypes+[xtWideChar,xtChar];