iPro: replace presumably dead code with an exception.

git-svn-id: trunk@45719 -
This commit is contained in:
juha 2014-06-28 18:45:25 +00:00
parent 0a6fed688d
commit 2710701803

View File

@ -11118,15 +11118,7 @@ begin
Break;
etHardLF :
if DoQueueElemHardLF then
begin
Assert(FLastWord < FFirstWord, 'TIpHtmlNodeBlock.LayoutQueue: FLastWord >= FFirstWord');
//if FLastWord < FFirstWord then begin
FLastWord := FFirstWord;
FCanBreak := True;
if (FxySize.cx > WW) then
Inc(iElem);
//end
end
raise EIpHtmlException.Create('TIpHtmlNodeBlock.LayoutQueue: FIgnoreHardLF is True after all.')
else
Break;
etClearLeft, etClearRight, etClearBoth :