summaryrefslogtreecommitdiff
path: root/docview/components/richtext
diff options
context:
space:
mode:
authorGraeme Geldenhuys <graeme@mastermaths.co.za>2010-03-09 11:01:31 +0200
committerGraeme Geldenhuys <graeme@mastermaths.co.za>2010-03-09 11:01:31 +0200
commit2458fb383625e2fdd8362111804da0a53b56c648 (patch)
tree9daf87aa4e9c710a19dee964699b07a71a63c3ef /docview/components/richtext
parent748a3f6b0e4d1b65874284cdb363e57e28e7ddc6 (diff)
downloadfpGUI-2458fb383625e2fdd8362111804da0a53b56c648.tar.xz
When debugging with GDB these lines sometimes gives FPC AnsiString errors.
No idea why!! So we comment them simply because they are debug lines to start with.
Diffstat (limited to 'docview/components/richtext')
-rw-r--r--docview/components/richtext/CanvasFontManager.pas4
1 files changed, 2 insertions, 2 deletions
diff --git a/docview/components/richtext/CanvasFontManager.pas b/docview/components/richtext/CanvasFontManager.pas
index c182ba91..de81570d 100644
--- a/docview/components/richtext/CanvasFontManager.pas
+++ b/docview/components/richtext/CanvasFontManager.pas
@@ -873,8 +873,8 @@ try
if AFont.Attributes = FontSpec.Attributes then
begin
// search name last since it's the slowest thing
-ProfileEvent(' AFont.UseFaceName=' + AFont.UseFaceName);
-ProfileEvent(' FontSpec.FaceName=' + FontSpec.FaceName);
+//ProfileEvent(' AFont.UseFaceName=' + AFont.UseFaceName);
+//ProfileEvent(' FontSpec.FaceName=' + FontSpec.FaceName);
if AFont.FaceName = FontSpec.FaceName then
begin
// Found a logical font already created