summaryrefslogtreecommitdiff
path: root/vcl/inc/svdata.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/svdata.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/svdata.hxx')
-rw-r--r--vcl/inc/svdata.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/inc/svdata.hxx b/vcl/inc/svdata.hxx
index 822b15b378ee..01010f1e61e7 100644
--- a/vcl/inc/svdata.hxx
+++ b/vcl/inc/svdata.hxx
@@ -23,6 +23,7 @@
#include <config_version.h>
#include <o3tl/lru_map.hxx>
+#include <o3tl/hash_combine.hxx>
#include <tools/fldunit.hxx>
#include <unotools/options.hxx>
#include <vcl/bitmapex.hxx>
@@ -41,7 +42,6 @@
#include <mutex>
#include <vector>
#include <unordered_map>
-#include <boost/functional/hash.hpp>
#include "ControlCacheKey.hxx"
#include "schedulerimpl.hxx"
#include <basegfx/DrawCommands.hxx>
@@ -194,9 +194,9 @@ template <> struct hash<ScaleCacheKey>
std::size_t operator()(ScaleCacheKey const& k) const noexcept
{
std::size_t seed = 0;
- boost::hash_combine(seed, k.mpBitmap);
- boost::hash_combine(seed, k.maDestSize.getWidth());
- boost::hash_combine(seed, k.maDestSize.getHeight());
+ o3tl::hash_combine(seed, k.mpBitmap);
+ o3tl::hash_combine(seed, k.maDestSize.getWidth());
+ o3tl::hash_combine(seed, k.maDestSize.getHeight());
return seed;
}
};