diff options
Diffstat (limited to 'sot')
-rw-r--r-- | sot/source/sdstor/stgcache.cxx | 2 | ||||
-rw-r--r-- | sot/source/sdstor/stgcache.hxx | 5 |
2 files changed, 5 insertions, 2 deletions
diff --git a/sot/source/sdstor/stgcache.cxx b/sot/source/sdstor/stgcache.cxx index 5176e0a4a75e..2e3d33b1e3e0 100644 --- a/sot/source/sdstor/stgcache.cxx +++ b/sot/source/sdstor/stgcache.cxx @@ -29,6 +29,8 @@ #include "stgdir.hxx" #include "stgio.hxx" +#include <algorithm> + ////////////////////////////// class StgPage // This class implements buffer functionality. The cache will always return // a page buffer, even if a read fails. It is up to the caller to determine diff --git a/sot/source/sdstor/stgcache.hxx b/sot/source/sdstor/stgcache.hxx index 4a71279d4e5c..bee74e30f708 100644 --- a/sot/source/sdstor/stgcache.hxx +++ b/sot/source/sdstor/stgcache.hxx @@ -26,8 +26,9 @@ #include <tools/stream.hxx> #include <stgelem.hxx> #include <boost/noncopyable.hpp> -#include <boost/unordered_map.hpp> +#include <boost/functional/hash.hpp> #include <salhelper/simplereferenceobject.hxx> +#include <unordered_map> class UCBStorageStream; class StgPage; @@ -36,7 +37,7 @@ class StorageBase; class StgCache { - typedef boost::unordered_map + typedef std::unordered_map < sal_Int32, rtl::Reference< StgPage >, boost::hash< sal_Int32 >, std::equal_to< sal_Int32 > |