~ubuntu-branches/ubuntu/vivid/lazarus/vivid-proposed

« back to all changes in this revision

Viewing changes to components/lazreport/source/lr_utils.pas

  • Committer: Package Import Robot
  • Author(s): Abou Al Montacir
  • Date: 2014-05-15 23:17:51 UTC
  • mfrom: (1.1.13)
  • Revision ID: package-import@ubuntu.com-20140515231751-gumj9a01g0ghm7ac
Tags: 1.2.2+dfsg-1
* New upstream release with few fixes and official support of FPC 2.6.4.
  - The detailed list of changes can be found here:
  http://wiki.lazarus.freepascal.org/Lazarus_1.2_fixes_branch#Fixes_for_1.2.2_.28Merged.29

Show diffs side-by-side

added added

removed removed

Lines of Context:
457
457
      end;
458
458
 
459
459
      Owner := FindGlobalComponent(s1);
 
460
      if Owner=nil then begin
 
461
        // try screen registered containers
 
462
        // which at design time are not in FindGlobalComponentList
 
463
        Owner := Screen.FindDataModule(s1);
 
464
        if Owner=nil then
 
465
          Owner := Screen.FindForm(s1);
 
466
      end;
460
467
      if Owner <> nil then
461
468
      begin
462
469
        if s3<>'' then