Kaydet (Commit) 58d89f27 authored tarafından Noel Grandin's avatar Noel Grandin

no need to use OUStringHash here anymore

Change-Id: I2faa8c971dc7f4642353dceafa25b9022a0dfd2a
Reviewed-on: https://gerrit.libreoffice.org/67436
Tested-by: Jenkins
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst 202d9af5
......@@ -223,7 +223,7 @@ class XMLOFF_DLLPUBLIC SvXMLImport : public cppu::WeakImplHelper<
css::uno::Reference< css::xml::sax::XFastDocumentHandler > mxFastDocumentHandler;
static css::uno::Reference< css::xml::sax::XFastTokenHandler > xTokenHandler;
static std::unordered_map< sal_Int32, std::pair< OUString, OUString > > aNamespaceMap;
static std::unordered_map< OUString, OUString, OUStringHash > aNamespaceURIPrefixMap;
static std::unordered_map< OUString, OUString > aNamespaceURIPrefixMap;
static bool bIsNSMapsInitialized;
static void initializeNamespaceMaps();
......
......@@ -91,7 +91,7 @@ protected:
OUString m_aFile;
// details other config files that have this printer
// in case of removal all have to be removed
std::unordered_set< OUString, OUStringHash > m_aAlternateFiles;
std::unordered_set< OUString > m_aAlternateFiles;
// group in m_aFile containing the printer
// this must be unique over all configuration files
// it usually should be the printer name
......
......@@ -2370,7 +2370,7 @@ namespace BuilderUtils
{
using namespace com::sun::star::accessibility;
static const std::unordered_map<OString, sal_Int16, OStringHash> aAtkRoleToAccessibleRole = {
static const std::unordered_map<OString, sal_Int16> aAtkRoleToAccessibleRole = {
/* This is in atkobject.h's AtkRole order */
{ "invalid", AccessibleRole::UNKNOWN },
{ "accelerator label", AccessibleRole::UNKNOWN },
......
......@@ -86,7 +86,7 @@ using namespace ::xmloff::token;
css::uno::Reference< css::xml::sax::XFastTokenHandler > SvXMLImport::xTokenHandler( new FastTokenHandler() );
std::unordered_map< sal_Int32, std::pair< OUString, OUString > > SvXMLImport::aNamespaceMap;
std::unordered_map< OUString, OUString, OUStringHash > SvXMLImport::aNamespaceURIPrefixMap;
std::unordered_map< OUString, OUString > SvXMLImport::aNamespaceURIPrefixMap;
const OUString SvXMLImport::aDefaultNamespace = OUString("");
const OUString SvXMLImport::aNamespaceSeparator = OUString(":");
bool SvXMLImport::bIsNSMapsInitialized = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment