* Remove Unnecessary typecasts

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1251 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
blikblum
2010-07-12 19:11:22 +00:00
parent d0dec50913
commit 5c0465c60c

View File

@ -5471,7 +5471,7 @@ procedure TCustomVirtualTreeOptions.AssignTo(Dest: TPersistent);
begin
if Dest is TCustomVirtualTreeOptions then
begin
with Dest as TCustomVirtualTreeOptions do
with TCustomVirtualTreeOptions(Dest) do
begin
PaintOptions := Self.PaintOptions;
AnimationOptions := Self.AnimationOptions;
@ -30394,7 +30394,7 @@ procedure TCustomStringTreeOptions.AssignTo(Dest: TPersistent);
begin
if Dest is TCustomStringTreeOptions then
begin
with Dest as TCustomStringTreeOptions do
with TCustomStringTreeOptions(Dest) do
StringOptions := Self.StringOptions;
end;