Repository navigation
Commit 994d66e
Sync with trunk (#519)
* Replace std::hash_map/hash_set with std::unordered_map/unordered_set on trunk (C++11)
GCC 15 removed std::hash_map/std::hash_set (GNU extensions) from libstdc++.
Replace all 628 occurrences across 477 files with std::unordered_map/
std::unordered_set, updating #include <hash_map>/<hash_set> to
Affects: vcl, crashrep, extensions, dbaccess, scripting, sw, io, rdbmaker,
codemaker, unodevtools, and many other modules.
* Migrate remaining std::hash_map/std::hash_set to std::unordered_map/std::unordered_set
Replace TR1/backport hash containers with C++11 standard equivalents
in source files not yet covered by trunk's migration.
* Replace std::hash_multimap with std::unordered_multimap in propcontroller.hxx
std::hash_multimap is a GNU extension removed from GCC 13's libstdc++,
causing a build failure in the pcr module (propcontroller.obj).
std::unordered_multimap is the C++11 standard equivalent already used
elsewhere in this file and supports all operations performed on
m_aDependencyHandlers.
* Replace std::hash_multimap with std::unordered_multimap in oleobjw.hxx
std::hash_multimap is a GNU extension removed from GCC 13's libstdc++.
The functors hashOUString_Impl/equalOUString_Impl are already used with
std::unordered_map on line 74 of the same file, and all operations on
m_mapComFunc (find, end, insert) are supported by std::unordered_multimap.
---------
Co-authored-by: Pedro F. Giffuni <pfg@apache.org>1 parent aac6cdf commit 994d66e
479 files changed
Lines changed: 1342 additions & 1340 deletions
File tree
- main
- accessibility
- inc/accessibility/extended
- source/extended
- animations/source/animcore
- avmedia/source/macavf
- basctl/source/inc
- basic/source
- classes
- comp
- inc
- runtime
- bridges
- source/cpp_uno
- gcc3_freebsd_aarch64
- gcc3_freebsd_arm
- gcc3_freebsd_intel
- gcc3_freebsd_powerpc64
- gcc3_freebsd_powerpc
- gcc3_freebsd_x86-64
- gcc3_linux_alpha
- gcc3_linux_arm
- gcc3_linux_hppa
- gcc3_linux_ia64
- gcc3_linux_intel
- gcc3_linux_m68k
- gcc3_linux_mips
- gcc3_linux_powerpc64
- gcc3_linux_powerpc
- gcc3_linux_s390x
- gcc3_linux_s390
- gcc3_linux_sparc
- gcc3_linux_x86-64
- gcc3_netbsd_intel
- gcc3_os2_intel
- gcc3_solaris_intel
- gcc3_solaris_sparc
- mingw_intel
- msvc_win32_intel
- msvc_win64_x86-64
- s5abi_macosx_aarch64
- s5abi_macosx_x86-64
- chart2/source/inc
- codemaker
- inc/codemaker
- source/bonobowrappermaker
- comphelper
- inc/comphelper
- source
- container
- misc
- connectivity/source/inc
- cppuhelper/source
- cppu/source
- LogBridge
- threadpool
- typelib
- uno
- crashrep/source
- unx
- win32
- cui/source
- customize
- inc
- dbaccess/source
- core
- inc
- recovery
- ui
- app
- browser
- desktop/source
- app
- deployment
- manager
- registry
- component
- migration
- embedserv/source/inc
- extensions/source
- bibliography
- ole
- propctrlr
- filter
- inc/filter/msfilter
- source
- config/cache
- msfilter
- svg
- forms/source
- component
- inc
- formula/inc/formula
- fpicker/source/win32/filepicker
- framework
- inc
- classes
- framework
- services
- uiconfiguration
- uielement
- xml
- source
- fwe/classes
- services
- uiconfiguration
- uielement
- test/typecfg
- idlc/inc/idlc
- io/source
- acceptor
- connector
- stm
- l10ntools
- inc
- source/help
- linguistic/source
- odk/examples/cpp/complextoolbarcontrols
- oox
- inc/oox/export
- source
- drawingml
- export
- package
- inc
- source
- package
- manifest
- zippackage
- xstor
- padmin/source
- pyuno/source/module
- rdbmaker/inc/codemaker
- registry/source
- reportdesign/source/core/sdr
- rsc
- inc
- source
- parser
- tools
- sal
- inc
- osl
- rtl
- rtl/source
- sax/source/fastparser
- scripting/source
- dlgprov
- provider
- storage
- stringresource
- vbaevents
- sc
- inc
- source
- core
- data
- inc
- tool
- filter
- inc
- xml
- ui
- cctrl
- inc
- unoobj
- vba
- view
- sdext/source
- minimizer
- pdfimport
- inc
- pdfparse
- sax
- test
- tree
- wrapper
- xpdfwrapper
- presenter
- sd
- inc
- source/ui
- framework
- configuration
- module
- tools
- sidebar
- slidesorter/cache
- tools
- unoidl
- view
- setup_native/source/win32/customactions/rebase
- sfx2
- inc/sfx2/sidebar
- source
- appl
- control
- doc
- inc
- toolbox
- view
- slideshow/source/engine
- slide
- sot/source/sdstor
- stoc/source
- corereflection
- inspect
- invocation_adapterfactory
- namingservice
- security
- servicemanager
- tdmanager
- svgio
- inc/svgio/svgreader
- source/svgreader
- svl
- inc/pch
- source/items
- svtools
- inc
- pch
- svtools
- source
- table
- uno
- svx
- inc/svx
- source
- customshapes
- inc
- table
- unodraw
- sw
- inc
- source
- core
- access
- doc
- inc
- filter
- ww8
- xml
- ui/vba
- testtools/source/performance
- toolkit
- inc/toolkit/controls
- source
- controls
- layout/core
- tools
- inc/tools
- source/rc
- ucbhelper/source/provider
- ucb
- source
- core
- ucp
- file
- hierarchy
- package
- webdav
- workben/cachemap
- unodevtools
- inc/unodevtools
- source/skeletonmaker
- unotools
- inc/unotools
- source
- config
- misc
- unoxml/source/dom
- uui/source
- vcl
- aqua/source
- dtrans
- gdi
- inc
- aqua
- os2
- unx
- vcl
- win
- os2/source/gdi
- source
- control
- gdi
- glyphs
- helper
- unx
- generic
- dtrans
- fontmanager
- gdi
- printergfx
- printer
- gtk
- a11y
- gdi
- headless
- win/source
- app
- gdi
- winaccessibility/source/service
- writerfilter
- inc/resourcemodel
- qa/cppunittests/qname
- source
- dmapper
- doctok
- ooxml
- resourcemodel
- unocomponent/debugservices
- doctok
- ooxml
- rtftok
- xmlhelp/source/cxxhelp/provider
- xmloff
- inc
- xmloff
- source
- core
- draw
- forms
- style
- text
- transform
- xmlscript/source/xml_helper
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
346 | | - | |
| 346 | + | |
347 | 347 | | |
348 | 348 | | |
349 | 349 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
139 | | - | |
| 139 | + | |
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
| 168 | + | |
169 | 169 | | |
170 | 170 | | |
171 | 171 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
| 31 | + | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
308 | | - | |
| 308 | + | |
309 | 309 | | |
310 | 310 | | |
311 | 311 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
1194 | 1194 | | |
1195 | 1195 | | |
1196 | 1196 | | |
1197 | | - | |
| 1197 | + | |
1198 | 1198 | | |
1199 | 1199 | | |
1200 | 1200 | | |
| |||
2069 | 2069 | | |
2070 | 2070 | | |
2071 | 2071 | | |
2072 | | - | |
| 2072 | + | |
2073 | 2073 | | |
2074 | 2074 | | |
2075 | 2075 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
3389 | 3389 | | |
3390 | 3390 | | |
3391 | 3391 | | |
3392 | | - | |
| 3392 | + | |
3393 | 3393 | | |
3394 | 3394 | | |
3395 | 3395 | | |
| |||
3416 | 3416 | | |
3417 | 3417 | | |
3418 | 3418 | | |
3419 | | - | |
| 3419 | + | |
3420 | 3420 | | |
3421 | 3421 | | |
3422 | 3422 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
242 | | - | |
243 | | - | |
| 242 | + | |
| 243 | + | |
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| |||
381 | 381 | | |
382 | 382 | | |
383 | 383 | | |
384 | | - | |
| 384 | + | |
385 | 385 | | |
386 | 386 | | |
387 | 387 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
129 | | - | |
| 129 | + | |
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| |||
0 commit comments