summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-07-15 15:15:50 +0100
committerCaolán McNamara <caolanm@redhat.com>2021-07-15 17:26:46 +0200
commitb8b27b7c4baaf7554a28383e0f66eabc6dd03dca (patch)
treefb794e0928bbff66bbc83104878a675f5ecf70cf /svtools
parent554c3692b7e3b51ce6ce7772509ba7a2e8777d3a (diff)
the freetype font cache mentioned in this comment no longer exists
Change-Id: Id9821a37d5b737b67b4ac631e04880b32ebf3a9a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/118986 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/ctrlbox.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx
index 655eb430db60..33364f5a32fb 100644
--- a/svtools/source/control/ctrlbox.cxx
+++ b/svtools/source/control/ctrlbox.cxx
@@ -557,9 +557,7 @@ IMPL_LINK_NOARG(FontNameBox, UpdateHdl, Timer*, void)
CachePreview(mnPreviewProgress++, nullptr);
// tdf#132536 limit to ~25 pre-rendered for now. The font caches look
// b0rked, the massive charmaps are ~never swapped out, and don't count
- // towards the size of a font in the font cache and if the freetype font
- // cache size is set experimentally very low then we crash, so there's an
- // awful lot to consider there.
+ // towards the size of a font in the font cache.
if (mnPreviewProgress < std::min<size_t>(25, mpFontList->size()))
maUpdateIdle.Start();
}