From c7bbbd33c130e8fd8ef2b49f5fb81148fef6a00a Mon Sep 17 00:00:00 2001 From: juha Date: Sun, 13 Feb 2011 09:54:02 +0000 Subject: [PATCH] Converter: Don't complain about missing units in the project .dpr file. git-svn-id: trunk@29504 - --- converter/convertdelphi.pas | 5 +---- ide/lazarusidestrconsts.pas | 2 -- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/converter/convertdelphi.pas b/converter/convertdelphi.pas index 650d38feb0..680d7507e6 100644 --- a/converter/convertdelphi.pas +++ b/converter/convertdelphi.pas @@ -1381,10 +1381,7 @@ begin Result:=mrCancel; exit; end; - if (MisUnits<>nil) and (MisUnits.Count>0) then - raise Exception.Create(lisConvDelphiAtThisPointThereShouldBeNoMissingUnits); - try - // add all units to the project + try // add all units to the project for i:=0 to FoundUnits.Count-1 do begin CurFilename:=FoundUnits[i]; p:=System.Pos(' in ',CurFilename); diff --git a/ide/lazarusidestrconsts.pas b/ide/lazarusidestrconsts.pas index 164a9015eb..eef6a2e189 100644 --- a/ide/lazarusidestrconsts.pas +++ b/ide/lazarusidestrconsts.pas @@ -5126,8 +5126,6 @@ resourcestring lisConvDelphiRemoveFirst = 'Remove first'; lisConvDelphiRemoveSecond = 'Remove second'; lisConvDelphiKeepBoth = 'Keep both'; - lisConvDelphiAtThisPointThereShouldBeNoMissingUnits = 'At this point there ' - +'should be no missing units!'; lisConvDelphiPackageNameExists = 'Package name exists'; lisConvDelphiProjOmittedUnit = 'Omitted unit %s from project'; lisConvDelphiAddedPackageRequirement = 'Added Package %s as a requirement.';