summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-01-29 15:06:16 +0200
committerCaolán McNamara <caolanm@redhat.com>2016-01-31 17:26:49 +0000
commitbf86287c5f439c4873e8e7d191449ef40dee5795 (patch)
treea56558210e1e04ee650486481364f946369e505c /include
parent1fd280f2c63cdf8d24b48c02fe384f0bc20682c1 (diff)
move boost header dependency for ControlCacheHashFunction inside vcl
ControlCacheHashFunction is only used by vcl/opengl/* Change-Id: Id3aef4fc1ffc909a24a9cce0b86c5dc82e6e6612 Reviewed-on: https://gerrit.libreoffice.org/21900 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/salnativewidgets.hxx17
1 files changed, 0 insertions, 17 deletions
diff --git a/include/vcl/salnativewidgets.hxx b/include/vcl/salnativewidgets.hxx
index 8c1176a2aa95..55de313c8219 100644
--- a/include/vcl/salnativewidgets.hxx
+++ b/include/vcl/salnativewidgets.hxx
@@ -25,8 +25,6 @@
#include <tools/gen.hxx>
#include <o3tl/typed_flags_set.hxx>
-#include <boost/functional/hash.hpp>
-
/* Control Types:
*
* Specify the overall, whole control
@@ -302,21 +300,6 @@ public:
}
};
-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());
- return seed;
- }
-};
-
-
/* ButtonValue:
*
* Identifies the tri-state value options