vcl/skia/SkiaHelper.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit e369efa01183b4c304b49603628a7393aeb9ced0
Author:     Julien Nabet <serval2...@yahoo.fr>
AuthorDate: Fri Dec 10 12:46:56 2021 +0100
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Fri Dec 10 14:24:53 2021 +0100

    [loplugin:external] in vcl/skia/SkiaHelper.cxx
    
    Following 2c86b79e87bc8579f5213708954d5c85fe231407
    cache Skia drawing based on checksum of bitmap content (tdf#146095)
    
    Change-Id: I184a7d96988b7a52100de026c13f422590755ded
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/126635
    Reviewed-by: Luboš Luňák <l.lu...@collabora.com>
    Tested-by: Jenkins

diff --git a/vcl/skia/SkiaHelper.cxx b/vcl/skia/SkiaHelper.cxx
index 2a4a7f1a6d7f..8dc3827b097a 100644
--- a/vcl/skia/SkiaHelper.cxx
+++ b/vcl/skia/SkiaHelper.cxx
@@ -648,7 +648,7 @@ tools::Long maxImageCacheSize()
 
 static o3tl::lru_map<uint32_t, uint32_t> checksumCache(256);
 
-uint32_t computeSkPixmapChecksum(const SkPixmap& pixmap)
+static uint32_t computeSkPixmapChecksum(const SkPixmap& pixmap)
 {
     // Use uint32_t because that's what SkOpts::hash_fn() returns.
     static_assert(std::is_same_v<uint32_t, decltype(SkOpts::hash_fn(nullptr, 
0, 0))>);

Reply via email to