Converter: Fix an error from earlier commit.

git-svn-id: trunk@25947 -
This commit is contained in:
juha 2010-06-06 09:52:42 +00:00
parent 0a9e97d61f
commit 82b4690c18

View File

@ -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