diff options
author | Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk> | 2021-05-01 22:13:37 +0900 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2021-05-11 12:28:24 +0200 |
commit | eb6819e74a66750235d3a4a894479faeee8146e2 (patch) | |
tree | c898ab63731449cf5176f35a16bacea0bb58f864 /vcl/inc/impfontcache.hxx | |
parent | e6c0c282be59a5198932604d6c40de837b7cb548 (diff) |
change usage of boost::hash_combine to o3tl::hash_combine
Change-Id: I840518a36ac43d36c95f38e09c7bfcfe1a25a525
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114984
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'vcl/inc/impfontcache.hxx')
-rw-r--r-- | vcl/inc/impfontcache.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/inc/impfontcache.hxx b/vcl/inc/impfontcache.hxx index 07e04a0cc848..09aa33ca906b 100644 --- a/vcl/inc/impfontcache.hxx +++ b/vcl/inc/impfontcache.hxx @@ -20,10 +20,10 @@ #ifndef INCLUDED_VCL_INC_IMPFONTCACHE_HXX #define INCLUDED_VCL_INC_IMPFONTCACHE_HXX -#include <boost/functional/hash.hpp> #include <rtl/ref.hxx> #include <o3tl/lru_map.hxx> +#include <o3tl/hash_combine.hxx> #include <tools/gen.hxx> #include <vcl/glyphitem.hxx> @@ -53,8 +53,8 @@ struct GlyphBoundRectCacheHash std::size_t operator()(GlyphBoundRectCacheKey const& aCache) const { std::size_t seed = 0; - boost::hash_combine(seed, aCache.m_pFont); - boost::hash_combine(seed, aCache.m_nId); + o3tl::hash_combine(seed, aCache.m_pFont); + o3tl::hash_combine(seed, aCache.m_nId); return seed; } }; |