mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 12:49:33 +02:00
fcl-db: base: cosmetic
git-svn-id: trunk@46357 -
This commit is contained in:
parent
8a0ed03ace
commit
8eda8075f8
@ -177,7 +177,8 @@ end;
|
||||
function TFieldDef.GetCharSize: Word;
|
||||
begin
|
||||
case FDataType of
|
||||
ftGUID: Result:=1;
|
||||
ftGuid:
|
||||
Result := 1;
|
||||
ftString, ftFixedChar:
|
||||
case FCodePage of
|
||||
CP_UTF8: Result := 4;
|
||||
@ -3349,11 +3350,6 @@ begin
|
||||
SetAsString(GuidToString(AValue));
|
||||
end;
|
||||
|
||||
function TVariantField.GetDefaultWidth: Integer;
|
||||
begin
|
||||
Result := 15;
|
||||
end;
|
||||
|
||||
{ TVariantField }
|
||||
|
||||
constructor TVariantField.Create(AOwner: TComponent);
|
||||
@ -3367,6 +3363,11 @@ begin
|
||||
{ empty }
|
||||
end;
|
||||
|
||||
function TVariantField.GetDefaultWidth: Integer;
|
||||
begin
|
||||
Result := 15;
|
||||
end;
|
||||
|
||||
function TVariantField.GetAsBoolean: Boolean;
|
||||
begin
|
||||
Result := GetAsVariant;
|
||||
|
Loading…
Reference in New Issue
Block a user