From 255ffc7eeecf500299b93c27f7a7c790614ba8f0 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. (cherry picked from commit 681fed6ffa93f42d29812e7f4e9de67056f4c65d) --- 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 089dce9c58..a17d2a56ef 100644 --- a/components/codetools/finddeclarationtool.pas +++ b/components/codetools/finddeclarationtool.pas @@ -359,8 +359,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];