writerfilter/source/dmapper/PropertyIds.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit d7bc610a359ca7e95b3a600c03da6a0b9e6f439c
Author:     Tomaž Vajngerl <tomaz.vajng...@collabora.co.uk>
AuthorDate: Sun Jun 18 23:35:36 2023 +0900
Commit:     Julien Nabet <serval2...@yahoo.fr>
CommitDate: Sun Jun 18 17:36:51 2023 +0200

    use frozen::make_unordered_map so no need to specify the count
    
    Change-Id: I08057846e735028fb4634fad8b210c707905e096
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153233
    Tested-by: Jenkins
    Tested-by: Julien Nabet <serval2...@yahoo.fr>
    Reviewed-by: Julien Nabet <serval2...@yahoo.fr>

diff --git a/writerfilter/source/dmapper/PropertyIds.cxx 
b/writerfilter/source/dmapper/PropertyIds.cxx
index d294a3ad082c..11ef07230fad 100644
--- a/writerfilter/source/dmapper/PropertyIds.cxx
+++ b/writerfilter/source/dmapper/PropertyIds.cxx
@@ -26,7 +26,7 @@ namespace writerfilter::dmapper{
 
 namespace
 {
-    constexpr frozen::unordered_map<PropertyIds, std::u16string_view, 347> 
constPropertyMap
+    constexpr auto constPropertyMap = frozen::make_unordered_map<PropertyIds, 
std::u16string_view>(
     {
         { PROP_CHAR_WEIGHT, u"CharWeight"},
         { PROP_CHAR_POSTURE, u"CharPosture"},
@@ -378,7 +378,7 @@ namespace
         { PROP_CURSOR_NOT_IGNORE_TABLES_IN_HF, u"CursorNotIgnoreTables"},
         { PROP_PARA_CONNECT_BORDERS, u"ParaIsConnectBorder"},
         { PROP_DECORATIVE, u"Decorative"},
-    };
+    });
 } // end anonymous ns
 
 OUString getPropertyName( PropertyIds eId )

Reply via email to