From 82b4690c1896b8eaec47aed50dfa79a0535f78bd Mon Sep 17 00:00:00 2001 From: juha Date: Sun, 6 Jun 2010 09:52:42 +0000 Subject: [PATCH] Converter: Fix an error from earlier commit. git-svn-id: trunk@25947 - --- converter/convertdelphi.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/converter/convertdelphi.pas b/converter/convertdelphi.pas index 690c58cc57..4d655104e8 100644 --- a/converter/convertdelphi.pas +++ b/converter/convertdelphi.pas @@ -1285,7 +1285,7 @@ begin Result:=mrCancel; exit; end; - if MisUnits<>nil then + if (MisUnits<>nil) and (MisUnits.Count>0) then raise Exception.Create('At this point there should be no missing units!'); try // add all units to the project