summaryrefslogtreecommitdiff
path: root/sfx2/source
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source')
-rw-r--r--sfx2/source/appl/newhelp.cxx2
-rw-r--r--sfx2/source/dialog/templdlg.cxx2
-rw-r--r--sfx2/source/doc/Metadatable.cxx8
3 files changed, 6 insertions, 6 deletions
diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx
index f9f9dd022ab6..9a93d6cfd3f9 100644
--- a/sfx2/source/appl/newhelp.cxx
+++ b/sfx2/source/appl/newhelp.cxx
@@ -568,7 +568,7 @@ void IndexTabPage_Impl::dispose()
namespace sfx2 {
- typedef std::unordered_map< OUString, int, OUStringHash > KeywordInfo;
+ typedef std::unordered_map< OUString, int > KeywordInfo;
}
void IndexTabPage_Impl::InitializeIndex()
diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx
index 1ca0ea85808f..45f7152c0160 100644
--- a/sfx2/source/dialog/templdlg.cxx
+++ b/sfx2/source/dialog/templdlg.cxx
@@ -532,7 +532,7 @@ StyleTreeArr_Impl& MakeTree_Impl(StyleTreeArr_Impl& rArr)
::comphelper::getProcessComponentContext(),
Application::GetSettings().GetLanguageTag().getLocale());
- std::unordered_map<OUString, StyleTree_Impl*, OUStringHash> styleFinder;
+ std::unordered_map<OUString, StyleTree_Impl*> styleFinder;
styleFinder.reserve(rArr.size());
for (const auto& pEntry : rArr)
{
diff --git a/sfx2/source/doc/Metadatable.cxx b/sfx2/source/doc/Metadatable.cxx
index 90258798ead6..d4db1e0b3be0 100644
--- a/sfx2/source/doc/Metadatable.cxx
+++ b/sfx2/source/doc/Metadatable.cxx
@@ -376,11 +376,11 @@ XmlIdRegistry::GetXmlIdForElement(const Metadatable& i_rObject) const
/// generate unique xml:id
template< typename T >
/*static*/ OUString create_id(const
- std::unordered_map< OUString, T, OUStringHash > & i_rXmlIdMap)
+ std::unordered_map< OUString, T > & i_rXmlIdMap)
{
static bool bHack = (getenv("LIBO_ONEWAY_STABLE_ODF_EXPORT") != nullptr);
static const char prefix[] = "id"; // prefix for generated xml:id
- typename std::unordered_map< OUString, T, OUStringHash >
+ typename std::unordered_map< OUString, T >
::const_iterator iter;
OUString id;
@@ -416,7 +416,7 @@ typedef ::std::vector< Metadatable* > XmlIdVector_t;
/// Idref -> (content.xml element list, styles.xml element list)
typedef std::unordered_map< OUString,
- ::std::pair< XmlIdVector_t, XmlIdVector_t >, OUStringHash > XmlIdMap_t;
+ ::std::pair< XmlIdVector_t, XmlIdVector_t > > XmlIdMap_t;
/// pointer hash template
template<typename T> struct PtrHash
@@ -895,7 +895,7 @@ typedef std::unordered_map< const Metadatable*,
/// Idref -> (content.xml element, styles.xml element)
typedef std::unordered_map< OUString,
- ::std::pair< Metadatable*, Metadatable* >, OUStringHash >
+ ::std::pair< Metadatable*, Metadatable* > >
ClipboardXmlIdMap_t;
struct XmlIdRegistryClipboard::XmlIdRegistry_Impl