summaryrefslogtreecommitdiff
path: root/vcl/inc/ControlCacheKey.hxx
diff options
context:
space:
mode:
authorTomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>2021-05-01 22:13:37 +0900
committerTomaž Vajngerl <quikee@gmail.com>2021-05-11 12:28:24 +0200
commiteb6819e74a66750235d3a4a894479faeee8146e2 (patch)
treec898ab63731449cf5176f35a16bacea0bb58f864 /vcl/inc/ControlCacheKey.hxx
parente6c0c282be59a5198932604d6c40de837b7cb548 (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/ControlCacheKey.hxx')
-rw-r--r--vcl/inc/ControlCacheKey.hxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/vcl/inc/ControlCacheKey.hxx b/vcl/inc/ControlCacheKey.hxx
index e4e7616e2322..658d05bc84a2 100644
--- a/vcl/inc/ControlCacheKey.hxx
+++ b/vcl/inc/ControlCacheKey.hxx
@@ -22,7 +22,7 @@
#include <tools/gen.hxx>
#include <vcl/salnativewidgets.hxx>
-#include <boost/functional/hash.hpp>
+#include <o3tl/hash_combine.hxx>
class ControlCacheKey
{
@@ -81,11 +81,11 @@ struct ControlCacheHashFunction
std::size_t operator()(ControlCacheKey const& aCache) const
{
std::size_t seed = 0;
- boost::hash_combine(seed, aCache.mnType);
- boost::hash_combine(seed, aCache.mnPart);
- boost::hash_combine(seed, aCache.mnState);
- boost::hash_combine(seed, aCache.maSize.Width());
- boost::hash_combine(seed, aCache.maSize.Height());
+ o3tl::hash_combine(seed, aCache.mnType);
+ o3tl::hash_combine(seed, aCache.mnPart);
+ o3tl::hash_combine(seed, aCache.mnState);
+ o3tl::hash_combine(seed, aCache.maSize.Width());
+ o3tl::hash_combine(seed, aCache.maSize.Height());
return seed;
}
};