summaryrefslogtreecommitdiff
path: root/docview/components/richtext/RichTextLayoutUnit.pas
diff options
context:
space:
mode:
Diffstat (limited to 'docview/components/richtext/RichTextLayoutUnit.pas')
-rw-r--r--docview/components/richtext/RichTextLayoutUnit.pas4
1 files changed, 0 insertions, 4 deletions
diff --git a/docview/components/richtext/RichTextLayoutUnit.pas b/docview/components/richtext/RichTextLayoutUnit.pas
index d6b86a69..491c6f11 100644
--- a/docview/components/richtext/RichTextLayoutUnit.pas
+++ b/docview/components/richtext/RichTextLayoutUnit.pas
@@ -187,22 +187,18 @@ ProfileEvent('DEBUG: TRichTextLayout.Create >>>>');
FRichTextSettings := RichTextSettings;
FImages := Images;
FText := Text;
-ProfileEvent('DEBUG: TRichTextLayout.Create 1 of 4');
FLines := TLayoutLineList.Create;
FNumLines := 0;
FLinks := TStringList.Create;
FLinks.Duplicates := dupIgnore;
FFontManager := FontManager;
FLayoutWidth := AWidth;
-ProfileEvent('DEBUG: TRichTextLayout.Create 2');
FHorizontalImageScale := 1;
FVerticalImageScale := 1;
//FHorizontalImageScale := FFontManager.Canvas.HorizontalResolution
// / Screen.Canvas.HorizontalResolution;
//FVerticalImageScale := FFontManager.Canvas.VerticalResolution
// / Screen.Canvas.VerticalResolution;
-
-ProfileEvent('DEBUG: TRichTextLayout.Create 3');
Layout;
ProfileEvent('DEBUG: TRichTextLayout.Create <<<<');
end;