TurboPowerIPro: Less hints.

(cherry picked from commit 92306de965)
This commit is contained in:
wp_xyz 2024-06-01 14:10:04 +02:00 committed by Maxim Ganetsky
parent 587bb18cd1
commit d1f004d8b4
2 changed files with 3 additions and 3 deletions

View File

@ -52,7 +52,7 @@ interface
uses
// LCL
LCLType, LCLIntf,
Types, contnrs, SysUtils, Classes, TypInfo,
Types, contnrs, SysUtils, Classes, TypInfo, Variants,
// LCL
LResources, LMessages, Messages, LCLMemManager,
Graphics, Controls, StdCtrls, ExtCtrls, Buttons, Forms, ClipBrd, Dialogs,
@ -2154,7 +2154,7 @@ function GetPropertyValue(PI: PPropInfo; const AObject: TObject): string;
function GetVariantProperty : string;
begin
Result := AnsiString(GetVariantProp(AObject, PI));
Result := VarToStr(GetVariantProp(AObject, PI));
end;
function GetStringProperty : string;

View File

@ -224,7 +224,7 @@ function TryColorFromString(S: String; out AColor: TColor; out AErrMsg: String):
end;
var
R, G, B, Err: Integer;
R, G, B: Integer;
begin
Result := false;