Francois Gouget : testbot/cgi: Standardize access to the FormPage property descriptors.
Alexandre Julliard
julliard at winehq.org
Mon Mar 28 15:48:29 CDT 2022
Module: tools
Branch: master
Commit: 6d5e0b25b33feda5a0658a442b5c4752e2c9ec38
URL: https://source.winehq.org/git/tools.git/?a=commit;h=6d5e0b25b33feda5a0658a442b5c4752e2c9ec38
Author: Francois Gouget <fgouget at codeweavers.com>
Date: Mon Mar 28 17:30:35 2022 +0200
testbot/cgi: Standardize access to the FormPage property descriptors.
Note that this requires the list of property descriptors to always be
set.
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
testbot/lib/ObjectModel/CGI/FormPage.pm | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/testbot/lib/ObjectModel/CGI/FormPage.pm b/testbot/lib/ObjectModel/CGI/FormPage.pm
index 9e34a73..2565c07 100644
--- a/testbot/lib/ObjectModel/CGI/FormPage.pm
+++ b/testbot/lib/ObjectModel/CGI/FormPage.pm
@@ -117,8 +117,7 @@ sub GetPropertyDescriptorByName($$)
{
my ($self, $Name) = @_;
- my $PropertyDescriptors = $self->GetPropertyDescriptors();
- foreach my $PropertyDescriptor (@{$PropertyDescriptors})
+ foreach my $PropertyDescriptor (@{$self->GetPropertyDescriptors()})
{
if ($PropertyDescriptor->GetName() eq $Name)
{
More information about the wine-cvs
mailing list