summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/dpresfilter.cxx6
-rw-r--r--sc/source/ui/view/spellcheckcontext.cxx6
2 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/core/data/dpresfilter.cxx b/sc/source/core/data/dpresfilter.cxx
index c0a496cb76ce..346cbef8b4f1 100644
--- a/sc/source/core/data/dpresfilter.cxx
+++ b/sc/source/core/data/dpresfilter.cxx
@@ -13,7 +13,7 @@
#include <unotools/charclass.hxx>
#include <rtl/math.hxx>
#include <sal/log.hxx>
-#include <boost/functional/hash.hpp>
+#include <o3tl/hash_combine.hxx>
#include <com/sun/star/sheet/DataPilotFieldFilter.hpp>
#include <com/sun/star/uno/Sequence.hxx>
@@ -30,8 +30,8 @@ ScDPResultFilterContext::ScDPResultFilterContext() :
size_t ScDPResultTree::NamePairHash::operator() (const NamePairType& rPair) const
{
std::size_t seed = 0;
- boost::hash_combine(seed, rPair.first.hashCode());
- boost::hash_combine(seed, rPair.second.hashCode());
+ o3tl::hash_combine(seed, rPair.first.hashCode());
+ o3tl::hash_combine(seed, rPair.second.hashCode());
return seed;
}
diff --git a/sc/source/ui/view/spellcheckcontext.cxx b/sc/source/ui/view/spellcheckcontext.cxx
index 637458f07385..224af6859f59 100644
--- a/sc/source/ui/view/spellcheckcontext.cxx
+++ b/sc/source/ui/view/spellcheckcontext.cxx
@@ -21,7 +21,7 @@
#include <com/sun/star/linguistic2/XSpellChecker1.hpp>
-#include <boost/functional/hash.hpp>
+#include <o3tl/hash_combine.hxx>
#include <unordered_map>
@@ -38,8 +38,8 @@ class SpellCheckContext::SpellCheckCache
size_t operator() (const CellPos& rPos) const
{
std::size_t seed = 0;
- boost::hash_combine(seed, rPos.mnCol);
- boost::hash_combine(seed, rPos.mnRow);
+ o3tl::hash_combine(seed, rPos.mnCol);
+ o3tl::hash_combine(seed, rPos.mnRow);
return seed;
}
};