[Libreoffice-commits] core.git: writerfilter/source
Jochen Nitschke
j.nitschke+logerrit at ok.de
Tue Jun 20 10:39:47 UTC 2017
writerfilter/source/dmapper/DomainMapper_Impl.cxx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 4d8347dff173cd8ded4ee290bba21ceefecd2aa2
Author: Jochen Nitschke <j.nitschke+logerrit at ok.de>
Date: Mon Jun 19 09:34:32 2017 +0200
writerfilter: change map to unorded_map
Change-Id: I782713940fc978f38193c59d16667633167535d7
Reviewed-on: https://gerrit.libreoffice.org/38949
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit at ok.de>
Tested-by: Jochen Nitschke <j.nitschke+logerrit at ok.de>
diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
index 522511d0306f..ef3d0ade41e5 100644
--- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx
+++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx
@@ -78,6 +78,7 @@
#include <map>
#include <tuple>
+#include <unordered_map>
#include <vcl/svapp.hxx>
#include <vcl/outdev.hxx>
@@ -161,8 +162,7 @@ struct FieldConversion
FieldId eFieldId;
};
-typedef ::std::map< OUString, FieldConversion>
- FieldConversionMap_t;
+typedef std::unordered_map<OUString, FieldConversion, OUStringHash> FieldConversionMap_t;
uno::Any FloatingTableInfo::getPropertyValue(const OUString &propertyName)
{
More information about the Libreoffice-commits
mailing list