summaryrefslogtreecommitdiff
path: root/vcl/unx/generic/fontmanager/fontconfig.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/unx/generic/fontmanager/fontconfig.cxx')
-rw-r--r--vcl/unx/generic/fontmanager/fontconfig.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/vcl/unx/generic/fontmanager/fontconfig.cxx b/vcl/unx/generic/fontmanager/fontconfig.cxx
index 8121158013dc..9b16cd9cd5c5 100644
--- a/vcl/unx/generic/fontmanager/fontconfig.cxx
+++ b/vcl/unx/generic/fontmanager/fontconfig.cxx
@@ -47,7 +47,7 @@ using namespace psp;
#include <osl/process.h>
-#include <boost/functional/hash.hpp>
+#include <o3tl/hash_combine.hxx>
#include <utility>
#include <algorithm>
@@ -86,11 +86,11 @@ template <> struct hash<FontOptionsKey>
std::size_t operator()(const FontOptionsKey& k) const noexcept
{
std::size_t seed = k.m_sFamilyName.hashCode();
- boost::hash_combine(seed, k.m_nFontSize);
- boost::hash_combine(seed, k.m_eItalic);
- boost::hash_combine(seed, k.m_eWeight);
- boost::hash_combine(seed, k.m_eWidth);
- boost::hash_combine(seed, k.m_ePitch);
+ o3tl::hash_combine(seed, k.m_nFontSize);
+ o3tl::hash_combine(seed, k.m_eItalic);
+ o3tl::hash_combine(seed, k.m_eWeight);
+ o3tl::hash_combine(seed, k.m_eWidth);
+ o3tl::hash_combine(seed, k.m_ePitch);
return seed;
}
};