diff options
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/inc/osx/saldata.hxx | 7 | ||||
-rw-r--r-- | vcl/source/font/fontmetric.cxx | 2 |
2 files changed, 3 insertions, 6 deletions
diff --git a/vcl/inc/osx/saldata.hxx b/vcl/inc/osx/saldata.hxx index b32d67b737c7..1ea8074e9b38 100644 --- a/vcl/inc/osx/saldata.hxx +++ b/vcl/inc/osx/saldata.hxx @@ -33,8 +33,7 @@ #include "svdata.hxx" #include "salwtype.hxx" -#include <boost/functional/hash.hpp> - +#include <functional> #include <list> #include <map> #include <unordered_set> @@ -56,10 +55,10 @@ class SystemFontList; #define SAL_CLIPRECT_COUNT 16 class AquaSalFrame; -struct FrameHash : public boost::hash<sal_IntPtr> +struct FrameHash : public std::hash<sal_IntPtr> { size_t operator()(const AquaSalFrame* frame) const - { return boost::hash<sal_IntPtr>::operator()( reinterpret_cast<const sal_IntPtr>(frame) ); } + { return std::hash<sal_IntPtr>::operator()( reinterpret_cast<const sal_IntPtr>(frame) ); } }; #define INVALID_CURSOR_PTR reinterpret_cast<NSCursor*>(0xdeadbeef) diff --git a/vcl/source/font/fontmetric.cxx b/vcl/source/font/fontmetric.cxx index 728d84f33522..7a40ce51afe5 100644 --- a/vcl/source/font/fontmetric.cxx +++ b/vcl/source/font/fontmetric.cxx @@ -29,8 +29,6 @@ #include <set> #include <cstdio> -#include <boost/functional/hash.hpp> - using namespace ::com::sun::star; using namespace ::com::sun::star::uno; using namespace ::rtl; |